[postr] iptcinfo: Fix typos in class methods
- From: Germán Poó Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [postr] iptcinfo: Fix typos in class methods
- Date: Mon, 7 Jul 2014 17:15:35 +0000 (UTC)
commit e7476d0437e5348535551e0fbf18b6438cddbe92
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Mon Jul 7 09:16:20 2014 -0700
iptcinfo: Fix typos in class methods
src/iptcinfo.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/iptcinfo.py b/src/iptcinfo.py
index 7352b43..acd7fa6 100644
--- a/src/iptcinfo.py
+++ b/src/iptcinfo.py
@@ -972,7 +972,7 @@ class IPTCInfo(object):
app0data = self.jpegSkipVariable(fh, app0data)
if app0data is None:
self.error = 'jpegSkipVariable failed'
- self.log(error)
+ self.log(self.error)
return None
if ord(marker) == 0xe0 or not discardAppParts:
@@ -1186,7 +1186,7 @@ class IPTCInfo(object):
tuple(map(ord, row) + [''.join(map(P, row))])
return ered
- def jpegDebugScan(filename):
+ def jpegDebugScan(self, filename):
"""Also very helpful when debugging."""
assert isinstance(filename, basestring) and os.path.isfile(filename)
fh = file(filename, 'wb')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]