aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2009-11-05 09:58:54 +0100
committerOlivier Tilloy <olivier@tilloy.net>2009-11-05 09:58:54 +0100
commitf701ca57fa7650e57651c78374d5774c4d45ae70 (patch)
tree825555c1aa2c0072b8fefd109e526595be74334d
parent5ee4579755d346122b7eb818f6c5a30290e87be2 (diff)
downloadpyexiv2-f701ca57fa7650e57651c78374d5774c4d45ae70.tar.gz
Implementation of the ListenerInterface in the the ExifTag.
-rw-r--r--src/pyexiv2/exif2.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/pyexiv2/exif2.py b/src/pyexiv2/exif2.py
index cae290d..d09bcf3 100644
--- a/src/pyexiv2/exif2.py
+++ b/src/pyexiv2/exif2.py
@@ -162,7 +162,12 @@ class ExifTag(libexiv2python.ExifTag, ListenerInterface):
# Implement the ListenerInterface
def contents_changed(self):
- raise NotImplementedError('TODO: implement me!')
+ """
+ Implementation of the L{ListenerInterface}.
+ React on changes to the list of values of the tag.
+ """
+ # self._value is a list of values and its contents changed.
+ self._set_value(self._value)
def _convert_to_python(self, value):
"""