[Zope3-checkins] CVS: Zope3/src/zope/fssync - fssync.py:1.29

Guido van Rossum guido@python.org
Mon, 2 Jun 2003 13:09:20 -0400


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

Modified Files:
	fssync.py 
Log Message:
Remove unused code.


=== Zope3/src/zope/fssync/fssync.py 1.28 => 1.29 ===
--- Zope3/src/zope/fssync/fssync.py:1.28	Thu May 29 12:29:21 2003
+++ Zope3/src/zope/fssync/fssync.py	Mon Jun  2 13:09:19 2003
@@ -308,7 +308,6 @@
             raise Error("nothing known about", target)
         self.network.loadrooturl(target)
         path = entry["path"]
-        snarffile = tempfile.mktemp(".snf")
         head, tail = split(realpath(target))
         try:
             view = "@@fromFS.snarf?note=%s" % urllib.quote(note)
@@ -319,8 +318,6 @@
             outfp, headers = self.network.httpreq(path, view, datasource)
         finally:
             pass
-            if isfile(snarffile):
-                os.remove(snarffile)
         try:
             self.merge_snarffile(outfp, head, tail)
         finally: