[Zope3-checkins] CVS: Zope3/src/zope/security - checker.py:1.6

Jim Fulton jim@zope.com
Thu, 30 Jan 2003 10:55:07 -0500


Update of /cvs-repository/Zope3/src/zope/security
In directory cvs.zope.org:/tmp/cvs-serv18433

Modified Files:
	checker.py 
Log Message:
Updated the datetime checker to relect the addition of some new
methods.


=== Zope3/src/zope/security/checker.py 1.5 => 1.6 ===
--- Zope3/src/zope/security/checker.py:1.5	Sat Jan 25 00:13:50 2003
+++ Zope3/src/zope/security/checker.py	Thu Jan 30 10:55:04 2003
@@ -387,16 +387,15 @@
                                  '__radd__', '__sub__', '__rsub__', 'weekday',
                                  'isoweekday', 'isocalendar', 'isoformat',
                                  'min', 'max', 'resolution']),
-    datetime.datetime: NamesChecker(['__repr__', '__str__', 'year', 'month',
-                                     'day', 'hour', 'minute', 'second',
-                                     'microsecond', 'tzinfo', 'timetuple',
-                                     'utctimetuple', 'toordinal', '__cmp__',
-                                     '__hash__', 'ctime', 'strftime',
-                                     '__add__', '__radd__', '__sub__',
-                                     '__rsub__', 'weekday', 'isoweekday',
-                                     'isocalendar', 'isoformat', 'min',
-                                     'max', 'resolution', 'utcoffset',
-                                     'tzname', 'dst']),
+    datetime.datetime: NamesChecker([
+      '__repr__', '__str__', 'year', 'month', 'day', 'hour', 'minute',
+      'second', 'microsecond', 'tzinfo', 'timetuple', 'utctimetuple',
+      'toordinal', '__cmp__', '__hash__', 'ctime', 'strftime',
+      '__add__', '__radd__', '__sub__', '__rsub__', 'weekday',
+      'isoweekday', 'isocalendar', 'isoformat', 'min', 'max',
+      'resolution', 'utcoffset', 'tzname', 'dst', 'date', 'time',
+      'timetz'
+      ]),
     datetime.time: NamesChecker(['hour', 'minute', 'second', 'microsecond',
                                  '__cmp__', '__hash__', '__repr__',
                                  '__str__', 'isoformat', 'strftime', 'min',