[Zodb-checkins] CVS: ZODB4/src/zodb - export.py:1.4.4.1

Barry Warsaw barry@wooz.org
Mon, 10 Feb 2003 17:47:48 -0500


Update of /cvs-repository/ZODB4/src/zodb
In directory cvs.zope.org:/tmp/cvs-serv30281/src/zodb

Modified Files:
      Tag: opaque-pickles-branch
	export.py 
Log Message:
cosmetic


=== ZODB4/src/zodb/export.py 1.4 => 1.4.4.1 ===
--- ZODB4/src/zodb/export.py:1.4	Wed Feb  5 18:28:34 2003
+++ ZODB4/src/zodb/export.py	Mon Feb 10 17:47:47 2003
@@ -103,7 +103,7 @@
         """
         copier = ObjectCopier(self, self._storage, self._created)
 
-        while 1:
+        while True:
             h = file.read(16)
             if h == export_end_marker:
                 break
@@ -116,7 +116,7 @@
 
             # XXX I think it would be better if copier.copy()
             # returned an oid and a new pickle so that this logic
-            # wasn't smeared across to modules.
+            # wasn't smeared across two modules.
             oid = h[:8]
             new_ref = copier.oids.get(oid)
             if new_ref is None: