From 50e0bbb87603ff2c027011a1ffb6143a9ca4f032 Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Wed, 28 Jan 2009 20:22:19 +0100 Subject: Removed an unnecessary comment. The datetime conversion will fail with a ValueError transformed in an XmpValueError if the values are not in the allowed ranges. --- src/pyexiv2.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pyexiv2.py b/src/pyexiv2.py index cdd55cc..a147340 100644 --- a/src/pyexiv2.py +++ b/src/pyexiv2.py @@ -482,7 +482,6 @@ class XmpTag(MetadataTag): # strptime is not flexible enough to handle all valid Date formats, we use a # custom regular expression - # TODO: restrict the value ranges for year, month, day, hours, minutes, seconds, tzd _time_zone_re = r'Z|((?P\+|-)(?P\d{2}):(?P\d{2}))' _time_re = r'(?P\d{2}):(?P\d{2})(:(?P\d{2})(.(?P\d+))?)?(?P%s)' % _time_zone_re _date_re = re.compile(r'(?P\d{4})(-(?P\d{2})(-(?P\d{2})(T(?P