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

Steve Alexander steve@cat-box.net
Mon, 11 Nov 2002 11:37:58 -0500


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

Modified Files:
	DateTimeParse.py 
Log Message:
removed extraneous imports and one bare except:




=== Zope3/lib/python/Zope/Misc/DateTimeParse.py 1.4 => 1.5 ===
--- Zope3/lib/python/Zope/Misc/DateTimeParse.py:1.4	Fri Oct  4 14:06:15 2002
+++ Zope3/lib/python/Zope/Misc/DateTimeParse.py	Mon Nov 11 11:37:57 2002
@@ -19,9 +19,9 @@
 import re, math, DateTimeZone
 from types import StringTypes
 from time import \
-     time as _time, gmtime, localtime, strftime, daylight, timezone, altzone
+     time as _time, gmtime, localtime, daylight, timezone, altzone
 try: from time import tzname
-except: tzname=('UNKNOWN','UNKNOWN')
+except ImportError: tzname = ('UNKNOWN','UNKNOWN')
 
 class DateTimeError(Exception): "Date-time error"
 class DateError(DateTimeError): 'Invalid Date Components'