Fix bug caused by change in collections.UserList.

- Collections.UserList changed betweeen python 3.7.3 and 3.7.5,
  requiring the constructor of Entry to be a like that for a list.
- Solved by not using UserList and defining __getitem__ and __len__.
This commit is contained in:
Andrew Hamilton 2019-11-06 11:18:18 +10:00
parent cde7402708
commit 04c5bf3d56
2 changed files with 10 additions and 4 deletions

3
TODO
View file

@ -264,7 +264,6 @@ Ideas
- Let the mouse click on the actions in the status bar?
- Let the mouse click the filenames. Try to show a result from the same type
of tool.
- Check if class Entry is really working correctly as a collections.UserList.
- Docstrings
- Add ESC as an alternative to 'q' for quit. If looking at Help, ESC should just
exit the help screen.
@ -439,3 +438,5 @@ Shelved
- Not necessary since git_diff was removed.
- Cache tools._python_version.
- Not supporting python2 anymore.
- Check if class Entry is really working correctly as a collections.UserList.
- Entry is no longer a UserList.