Commit eea27439 authored by Evan Simpson's avatar Evan Simpson

Missed a line.

parent 6bfff663
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
############################################################################## ##############################################################################
"""Encapsulation of date/time values""" """Encapsulation of date/time values"""
__version__='$Revision: 1.92 $'[11:-2] __version__='$Revision: 1.93 $'[11:-2]
import os, re, math, DateTimeZone import os, re, math, DateTimeZone
...@@ -1653,8 +1653,8 @@ class DateTime: ...@@ -1653,8 +1653,8 @@ class DateTime:
try: try:
return self.__parse_iso8601(s) return self.__parse_iso8601(s)
except IndexError: except IndexError:
raise DateError,'Not an ISO 8601 compliant date string: "%s"' % s raise SyntaxError, (
'Not an ISO 8601 compliant date string: "%s"' % s)
def __parse_iso8601(self,s): def __parse_iso8601(self,s):
""" parse an ISO 8601 compliant date """ """ parse an ISO 8601 compliant date """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment