[Zope3-checkins] CVS: Zope3/src/zope/app/browser/content - fssync.py:1.17

Guido van Rossum guido@python.org
Tue, 3 Jun 2003 14:46:21 -0400


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

Modified Files:
	fssync.py 
Log Message:
Fix embarrassing NameError in error handling code.


=== Zope3/src/zope/app/browser/content/fssync.py 1.16 => 1.17 ===
--- Zope3/src/zope/app/browser/content/fssync.py:1.16	Tue Jun  3 13:08:51 2003
+++ Zope3/src/zope/app/browser/content/fssync.py	Tue Jun  3 14:46:21 2003
@@ -103,8 +103,8 @@
             md = Metadata()
             c = Checker(md)
             c.check(container, name, fspath)
-            e = c.errors()
-            if e:
+            errors = c.errors()
+            if errors:
                 # 3.1) Generate error response
                 txn.abort()
                 lines = ["Up-to-date check failed:"]