Don't ignore Curve.data in playlist serialization (now that we have hooke.util.yaml).
authorW. Trevor King <wking@drexel.edu>
Sat, 21 Aug 2010 20:25:54 +0000 (16:25 -0400)
committerW. Trevor King <wking@drexel.edu>
Sat, 21 Aug 2010 20:25:54 +0000 (16:25 -0400)
hooke/playlist.py

index 6e8f232c9da0482310408f6fede249c7b8578016..d6018d08c39e54b0dda1b1cadb025bfa28102860 100644 (file)
@@ -202,9 +202,10 @@ class Playlist (NoteIndexList):
         self._ignored_attrs.extend([
                 '_item_ignored_attrs', '_item_default_attrs',
                 '_loaded'])
-        self._item_ignored_attrs = ['data']
+        self._item_ignored_attrs = []
         self._item_default_attrs = {
             'command_stack': [],
+            'data': None,
             'driver': None,
             'info': {},
             'name': None,