[Zope3-checkins] CVS: Zope3/src/zope/app - datetimeutils.py:1.10 copypastemove.py:1.12

Jeremy Hylton cvs-admin at zope.org
Mon Nov 3 23:04:29 EST 2003


Update of /cvs-repository/Zope3/src/zope/app
In directory cvs.zope.org:/tmp/cvs-serv28992/src/zope/app

Modified Files:
	datetimeutils.py copypastemove.py 
Log Message:
Fix various import issues.

Some names where from imported twice.
Other imports were unused.
Often imports were in partly random order, making them harder to read.


=== Zope3/src/zope/app/datetimeutils.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/datetimeutils.py:1.9	Tue Sep 23 20:16:26 2003
+++ Zope3/src/zope/app/datetimeutils.py	Mon Nov  3 23:04:28 2003
@@ -30,7 +30,7 @@
 try:
     from time import tzname
 except ImportError:
-    tzname = ('UNKNOWN','UNKNOWN')
+    tzname = ('UNKNOWN', 'UNKNOWN')
 
 # These are needed because the various date formats below must
 # be in english per the RFCs. That means we can't use strftime,


=== Zope3/src/zope/app/copypastemove.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/copypastemove.py:1.11	Sun Sep 21 13:30:08 2003
+++ Zope3/src/zope/app/copypastemove.py	Mon Nov  3 23:04:28 2003
@@ -18,17 +18,16 @@
 """
 
 from zope.app import zapi
+from zope.app.event import publish
+from zope.app.event.objectevent import ObjectCopiedEvent
 from zope.app.i18n import ZopeMessageIDFactory as _
 from zope.app.interfaces.copypastemove import IObjectMover
 from zope.app.interfaces.copypastemove import IObjectCopier
 from zope.app.interfaces.container import IAddNotifiable
 from zope.app.interfaces.container import INameChooser
-from zope.proxy import removeAllProxies
+from zope.app.location import locationCopy
 from zope.interface import implements
 from zope.exceptions import NotFoundError, DuplicationError
-from zope.app.location import locationCopy
-from zope.app.event import publish
-from zope.app.event.objectevent import ObjectCopiedEvent
 from zope.proxy import removeAllProxies
 
 class ObjectMover:




More information about the Zope3-Checkins mailing list