[Checkins] SVN: z3c.form/branches/adamg-z3c-pt-optional/src/z3c/form/compatibility.py this is not needed here

Adam Groszer agroszer at gmail.com
Sun May 24 05:25:48 EDT 2009


Log message for revision 100329:
  this is not needed here
  

Changed:
  U   z3c.form/branches/adamg-z3c-pt-optional/src/z3c/form/compatibility.py

-=-
Modified: z3c.form/branches/adamg-z3c-pt-optional/src/z3c/form/compatibility.py
===================================================================
--- z3c.form/branches/adamg-z3c-pt-optional/src/z3c/form/compatibility.py	2009-05-24 09:21:34 UTC (rev 100328)
+++ z3c.form/branches/adamg-z3c-pt-optional/src/z3c/form/compatibility.py	2009-05-24 09:25:48 UTC (rev 100329)
@@ -20,25 +20,6 @@
 import decimal
 import zope.interface
 
-def addTimeField():
-    """Add ITime interface and Time field to zope.schema.
-
-    Target: Zope 3.3
-    """
-    from zope.schema import interfaces
-    if hasattr(interfaces, 'ITime'):
-        return
-
-    class ITime(interfaces.IMinMax, interfaces.IField):
-        u"""Field containing a time."""
-    interfaces.ITime = ITime
-
-    class Time(zope.schema.Orderable, zope.schema.Field):
-        __doc__ = ITime.__doc__
-        zope.interface.implements(ITime)
-        _type = datetime.time
-    zope.schema.Time = Time
-
 def addHooks():
     try:
         from zope.site import hooks



More information about the Checkins mailing list