projects
/
hooke.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add test/note.py and adjust playlist handling so NoteFilterCommand works again.
[hooke.git]
/
hooke
/
playlist.py
diff --git
a/hooke/playlist.py
b/hooke/playlist.py
index ee586095e4a5795144f9fe1ec886ae23b939bda8..cdde7ba2e899a17b4ee195bb3e50f8e3d8913e6d 100644
(file)
--- a/
hooke/playlist.py
+++ b/
hooke/playlist.py
@@
-30,6
+30,7
@@
import xml.dom.minidom
from . import curve as curve
from .compat import minidom as minidom # dynamically patch xml.sax.minidom
from . import curve as curve
from .compat import minidom as minidom # dynamically patch xml.sax.minidom
+from .util.itertools import reverse_enumerate
class NoteIndexList (list):
class NoteIndexList (list):
@@
-102,7
+103,7
@@
class NoteIndexList (list):
index = self._index
items = self
if reverse == True:
index = self._index
items = self
if reverse == True:
- items = reverse
d(enumerate(self)
)
+ items = reverse
_enumerate(self
)
else:
items = enumerate(self)
for i,item in items:
else:
items = enumerate(self)
for i,item in items: