diff options
Diffstat (limited to 'src/pyexiv2.py')
-rw-r--r-- | src/pyexiv2.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pyexiv2.py b/src/pyexiv2.py index d8fbe5e..3b1a04a 100644 --- a/src/pyexiv2.py +++ b/src/pyexiv2.py @@ -259,6 +259,9 @@ class ListenerInterface(object): def item_appended(self, item): raise NotImplementedError() + def extended(self, items): + raise NotImplementedError() + # TODO: define other methods. @@ -300,6 +303,10 @@ class NotifyingList(list): super(NotifyingList, self).append(item) self._notify_listeners('item_appended', item) + def extend(self, items): + super(NotifyingList, self).extend(items) + self._notify_listeners('extended', items) + class MetadataTag(object): |