From 36abcd8a1bbd0ffb0dbd948af8cb70d08ef379f2 Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Sun, 21 Nov 2010 19:03:06 +0100 Subject: Cosmetics: replaced non-breakable spaces by normal white spaces in comments. --- src/SConscript | 2 +- src/pyexiv2/exif.py | 4 ++-- src/pyexiv2/iptc.py | 6 +++--- src/pygtk-example.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/SConscript b/src/SConscript index 92d554e..f4b3e8c 100644 --- a/src/SConscript +++ b/src/SConscript @@ -19,7 +19,7 @@ if os.environ.has_key('LDFLAGS'): # Include directories to look for 'Python.h' in env.Append(CPPPATH=[get_python_inc(plat_specific=True)]) -# Libraries to link against +# Libraries to link against # On some systems, boost_python is actually called boost_python-mt. # Use the BOOSTLIB argument to override the default value. # See https://bugs.launchpad.net/pyexiv2/+bug/523858. diff --git a/src/pyexiv2/exif.py b/src/pyexiv2/exif.py index 2c485e2..b265d1f 100644 --- a/src/pyexiv2/exif.py +++ b/src/pyexiv2/exif.py @@ -74,9 +74,9 @@ class ExifTag(ListenerInterface): - Undefined: string """ - # According to the EXIF specification, the only accepted format for an Ascii + # According to the EXIF specification, the only accepted format for an Ascii # value representing a datetime is '%Y:%m:%d %H:%M:%S', but it seems that - # others formats can be found in the wild. + # others formats can be found in the wild. _datetime_formats = ('%Y:%m:%d %H:%M:%S', '%Y-%m-%d %H:%M:%S', '%Y-%m-%dT%H:%M:%SZ') diff --git a/src/pyexiv2/iptc.py b/src/pyexiv2/iptc.py index ac1954d..d34743f 100644 --- a/src/pyexiv2/iptc.py +++ b/src/pyexiv2/iptc.py @@ -237,7 +237,7 @@ class IptcTag(ListenerInterface): return value elif self.type == 'Date': - # According to the IPTC specification, the format for a string field + # According to the IPTC specification, the format for a string field # representing a date is '%Y%m%d'. However, the string returned by # exiv2 using method DateValue::toString() is formatted using # pattern '%Y-%m-%d'. @@ -249,7 +249,7 @@ class IptcTag(ListenerInterface): raise IptcValueError(value, self.type) elif self.type == 'Time': - # According to the IPTC specification, the format for a string field + # According to the IPTC specification, the format for a string field # representing a time is '%H%M%S±%H%M'. However, the string returned # by exiv2 using method TimeValue::toString() is formatted using # pattern '%H:%M:%S±%H:%M'. @@ -306,7 +306,7 @@ class IptcTag(ListenerInterface): elif self.type == 'Date': if type(value) in (datetime.date, datetime.datetime): # ISO 8601 date format. - # According to the IPTC specification, the format for a string + # According to the IPTC specification, the format for a string # field representing a date is '%Y%m%d'. However, the string # expected by exiv2's DateValue::read(string) should be # formatted using pattern '%Y-%m-%d'. diff --git a/src/pygtk-example.py b/src/pygtk-example.py index ccd1d94..1d7325d 100755 --- a/src/pygtk-example.py +++ b/src/pygtk-example.py @@ -62,7 +62,7 @@ if __name__ == '__main__': # Create a pixbuf loader to read the thumbnail data pbloader = gtk.gdk.PixbufLoader() pbloader.write(preview.data) - # Get the resulting pixbuf and build an image to be displayed + # Get the resulting pixbuf and build an image to be displayed pixbuf = pbloader.get_pixbuf() pbloader.close() imgwidget = gtk.Image() -- cgit