projects
/
hooke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fee2349
)
Fix tree method exposure in playlist GUI pansl
author
W. Trevor King
<wking@drexel.edu>
Tue, 10 Aug 2010 20:15:50 +0000
(16:15 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Tue, 10 Aug 2010 20:15:50 +0000
(16:15 -0400)
hooke/ui/gui/panel/playlist.py
patch
|
blob
|
history
diff --git
a/hooke/ui/gui/panel/playlist.py
b/hooke/ui/gui/panel/playlist.py
index c50da0bd1449763fdffb075464285b6ccfdb9e81..fd46d2dc526ad56043e9155a5d01de35de73be5c 100644
(file)
--- a/
hooke/ui/gui/panel/playlist.py
+++ b/
hooke/ui/gui/panel/playlist.py
@@
-359,8
+359,8
@@
class Playlist (Panel, wx.Panel):
# Following DRY and the LoD.
for attribute_name in dir(self._c['tree']):
if (attribute_name.startswith('_')
- or 'playlist' not in attribute_name
-
or 'curve' not in attribute_name
):
+ or
(
'playlist' not in attribute_name
+
and 'curve' not in attribute_name)
):
continue # not an attribute we're interested in
attr = getattr(self._c['tree'], attribute_name)
if hasattr(attr, '__call__'): # attr is a function / method