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

Guido van Rossum guido@python.org
Tue, 10 Jun 2003 18:01:34 -0400


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

Modified Files:
	fssync.py 
Log Message:
If the "raise" flag is given in the URL's query string, pass the
raise_on_conflicts flag to the Checker().  This is a debugging aid.


=== Zope3/src/zope/app/browser/content/fssync.py 1.19 => 1.20 ===
--- Zope3/src/zope/app/browser/content/fssync.py:1.19	Thu Jun  5 17:05:49 2003
+++ Zope3/src/zope/app/browser/content/fssync.py	Tue Jun 10 18:01:33 2003
@@ -192,7 +192,10 @@
         uns.unsnarf(self.tempdir)
 
     def call_checker(self):
-        c = Checker(self.metadata)
+        if self.get_arg("raise"):
+            c = Checker(self.metadata, True)
+        else:
+            c = Checker(self.metadata)
         c.check(self.container, self.name, self.fspath)
         self.errors = c.errors()