diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2009-11-05 09:58:54 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2009-11-05 09:58:54 +0100 |
commit | f701ca57fa7650e57651c78374d5774c4d45ae70 (patch) | |
tree | 825555c1aa2c0072b8fefd109e526595be74334d | |
parent | 5ee4579755d346122b7eb818f6c5a30290e87be2 (diff) | |
download | pyexiv2-f701ca57fa7650e57651c78374d5774c4d45ae70.tar.gz |
Implementation of the ListenerInterface in the the ExifTag.
-rw-r--r-- | src/pyexiv2/exif2.py | 7 |
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): """ |