[Zope3-checkins] CVS: Zope3/src/zope/app/fssync - syncer.py:1.18

Guido van Rossum guido@python.org
Thu, 15 May 2003 17:27:43 -0400


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

Modified Files:
	syncer.py 
Log Message:
Add some debug info to an assert.


=== Zope3/src/zope/app/fssync/syncer.py 1.17 => 1.18 ===
--- Zope3/src/zope/app/fssync/syncer.py:1.17	Thu May 15 17:24:52 2003
+++ Zope3/src/zope/app/fssync/syncer.py	Thu May 15 17:27:43 2003
@@ -236,7 +236,7 @@
     # See if this is an existing object
     if name not in container:
         # Not there; we need to create a new object
-        assert entry.get("flag") == "added"
+        assert entry.get("flag") == "added", name
         newOb = _create(container, name, factory, path)
 
     else: