aboutsummaryrefslogtreecommitdiffstats
path: root/src/pyexiv2.py
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2007-01-20 21:32:00 +0100
committerOlivier Tilloy <olivier@tilloy.net>2007-01-20 21:32:00 +0100
commita0492164d90727aa26f2a1849fb82697dda3d0ab (patch)
tree207b76a020803b587efc339ebe50eeaba91c5b3c /src/pyexiv2.py
parent420bd817181d7f674cb765e0452e78557855358b (diff)
downloadpyexiv2-a0492164d90727aa26f2a1849fb82697dda3d0ab.tar.gz
Complete switch to C++/Python exceptions: methods do not return empty strings or tuples anymore, they throw an exception instead.
Diffstat (limited to 'src/pyexiv2.py')
-rw-r--r--src/pyexiv2.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/pyexiv2.py b/src/pyexiv2.py
index a7280e4..9f61a69 100644
--- a/src/pyexiv2.py
+++ b/src/pyexiv2.py
@@ -334,9 +334,6 @@ class Image(libpyexiv2.Image):
# call method getExifTagToString() to obtain directly the value as a
# human-readable string.
return UndefinedToString(tagValue)
- else:
- # empty type and value
- return
def setExifTagValue(self, key, value):
"""
@@ -392,9 +389,6 @@ class Image(libpyexiv2.Image):
return StringToTime(tagValue)
elif tagType == 'Undefined':
return tagValue
- else:
- # empty type and value
- return
def setIptcTagValue(self, key, value):
"""