[Zope-Checkins] CVS: Zope/lib/python/DateTime - DateTime.py:1.94

Yvo Schubbe cvs-admin at zope.org
Sun Dec 7 09:10:22 EST 2003


Update of /cvs-repository/Zope/lib/python/DateTime
In directory cvs.zope.org:/tmp/cvs-serv868/lib/python/DateTime

Modified Files:
	DateTime.py 
Log Message:
fixed position of code merged from Zope-2_7-branch


=== Zope/lib/python/DateTime/DateTime.py 1.93 => 1.94 ===
--- Zope/lib/python/DateTime/DateTime.py:1.93	Thu Nov 20 12:13:17 2003
+++ Zope/lib/python/DateTime/DateTime.py	Sun Dec  7 09:10:19 2003
@@ -479,6 +479,12 @@
     __roles__=None
     __allow_access_to_unprotected_subobjects__=1
 
+    # Make class-specific exceptions available as attributes.
+    DateError = DateError
+    TimeError = TimeError
+    DateTimeError = DateTimeError
+    SyntaxError = SyntaxError
+
     def __init__(self,*args, **kw):
         """Return a new date-time object
 
@@ -496,12 +502,6 @@
           - If the function is called with no arguments or with None, 
             then the current date/time is returned, represented in the
             timezone of the local machine. 
-
-    # Make class-specific exceptions available as attributes.
-    DateError = DateError
-    TimeError = TimeError
-    DateTimeError = DateTimeError
-    SyntaxError = SyntaxError
 
           - If the function is invoked with a single string argument
             which is a recognized timezone name, an object representing




More information about the Zope-Checkins mailing list