[Zope3-checkins] CVS: Zope3/src/zodb/code - patch.py:1.14

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


Update of /cvs-repository/Zope3/src/zodb/code
In directory cvs.zope.org:/tmp/cvs-serv4851

Modified Files:
	patch.py 
Log Message:
Undo an import from in favor of qualified names.


=== Zope3/src/zodb/code/patch.py 1.13 => 1.14 ===
--- Zope3/src/zodb/code/patch.py:1.13	Thu Jun 26 18:41:58 2003
+++ Zope3/src/zodb/code/patch.py	Mon Nov  3 16:43:29 2003
@@ -94,7 +94,6 @@
 from zodb.code.class_ import PersistentClassMetaClass, PersistentDescriptor
 from zodb.code.function import PersistentFunction
 from persistence import PersistentMetaClass
-from pickle import REDUCE, BUILD
 
 class Wrapper:
     """Implement pickling reduce protocol for update-able object.
@@ -362,17 +361,16 @@
 
         save(callable)
         save(arg_tup)
-        write(REDUCE)
+        write(pickle.REDUCE)
 
         if obj is not None:
             memo_len = len(self.memo)
             self.write(self.put(memo_len))
             self.memo[id(obj)] = (memo_len, obj)
-            
 
         if state is not None:
             save(state)
-            write(BUILD)
+            write(pickle.BUILD)
 
 class Unpickler(pickle.Unpickler):
 




More information about the Zope3-Checkins mailing list