[Zope-CVS] CVS: Products/Ape/lib/apelib/zodb3 - utils.py:1.2.2.1

Shane Hathaway shane at zope.com
Fri Jan 2 00:23:32 EST 2004


Update of /cvs-repository/Products/Ape/lib/apelib/zodb3
In directory cvs.zope.org:/tmp/cvs-serv10453

Modified Files:
      Tag: ape-0_8-branch
	utils.py 
Log Message:
renamed the object argument to source


=== Products/Ape/lib/apelib/zodb3/utils.py 1.2 => 1.2.2.1 ===
--- Products/Ape/lib/apelib/zodb3/utils.py:1.2	Tue Sep 16 16:56:42 2003
+++ Products/Ape/lib/apelib/zodb3/utils.py	Fri Jan  2 00:23:31 2004
@@ -21,7 +21,7 @@
 from types import StringType
 
 
-def copyOf(object):
+def copyOf(source):
     """Copies a ZODB object, loading subobjects as needed.
 
     Re-ghostifies objects along the way to save memory.
@@ -57,7 +57,7 @@
     stream = StringIO()
     p = Pickler(stream, 1)
     p.persistent_id = persistent_id
-    p.dump(object)
+    p.dump(source)
     if former_ghosts:
         for g in former_ghosts:
             del g._p_changed




More information about the Zope-CVS mailing list