From f701ca57fa7650e57651c78374d5774c4d45ae70 Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Thu, 5 Nov 2009 09:58:54 +0100 Subject: Implementation of the ListenerInterface in the the ExifTag. --- src/pyexiv2/exif2.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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): """ -- cgit