aboutsummaryrefslogtreecommitdiffstats
path: root/src/pyexiv2.py
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2009-04-28 19:55:07 +0200
committerOlivier Tilloy <olivier@tilloy.net>2009-04-28 19:55:07 +0200
commit2ef70464cbfeead5795a46ba2354b7b5b1c3780c (patch)
treeecb8b1d453dfc1ee9d0134ec7826910a250eed45 /src/pyexiv2.py
parent4eb85bd3b88222b9e33c5a76e771fd284c7b0fb5 (diff)
downloadpyexiv2-2ef70464cbfeead5795a46ba2354b7b5b1c3780c.tar.gz
Notify on extend().
Diffstat (limited to 'src/pyexiv2.py')
-rw-r--r--src/pyexiv2.py7
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):