[Zope3-checkins] CVS: Zope3/lib/python/Zope/Misc - DateTimeParse.py:1.3

Jeremy Hylton jeremy@zope.com
Thu, 18 Jul 2002 12:07:03 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/Misc
In directory cvs.zope.org:/tmp/cvs-serv20490/Zope/Misc

Modified Files:
	DateTimeParse.py 
Log Message:
Fix typo: args -> arg.







=== Zope3/lib/python/Zope/Misc/DateTimeParse.py 1.2 => 1.3 ===
             raise TypeError, 'Expected a string argument'
 
         if not arg:
-            raise SyntaxError(args)
+            raise SyntaxError(arg)
 
         if arg.find(' ')==-1 and arg[4]=='-':
             yr,mo,dy,hr,mn,sc,tz=self._parse_iso8601(arg)