[Zope3-checkins] CVS: Zope3/src/zope/i18n - format.py:1.2 locales.pyc:1.2

Stephan Richter srichter@cbu.edu
Mon, 6 Jan 2003 04:25:16 -0500


Update of /cvs-repository/Zope3/src/zope/i18n
In directory cvs.zope.org:/tmp/cvs-serv26346/i18n

Modified Files:
	format.py locales.pyc 
Log Message:
Fixing an error that was generated by the nightly test with Python 2.2.2

It required amking the test class an object, so that super() would work. I
made all the other classes inherit from object as well to avoid the issue 
there as well.


=== Zope3/src/zope/i18n/format.py 1.1 => 1.2 ===
--- Zope3/src/zope/i18n/format.py:1.1	Sun Jan  5 15:19:37 2003
+++ Zope3/src/zope/i18n/format.py	Mon Jan  6 04:24:42 2003
@@ -27,7 +27,7 @@
 class DateTimeParseError(Exception):
     """Error is raised when parsing of datetime failed."""
 
-class DateTimeFormat:
+class DateTimeFormat(object):
     __doc__ = IDateTimeFormat.__doc__
 
     __implements__ =  IDateTimeFormat
@@ -137,7 +137,7 @@
     number parsing process."""
 
 
-class NumberFormat:
+class NumberFormat(object):
     __doc__ = INumberFormat.__doc__
 
     __implements__ =  INumberFormat


=== Zope3/src/zope/i18n/locales.pyc 1.1 => 1.2 ===
  <Binary-ish file>