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

Guido van Rossum guido@python.org
Sat, 10 May 2003 20:23:24 -0400


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

Modified Files:
	fssync.py 
Log Message:
Fix adding directories.


=== Zope3/src/zope/fssync/fssync.py 1.2 => 1.3 ===
--- Zope3/src/zope/fssync/fssync.py:1.2	Sat May 10 20:16:06 2003
+++ Zope3/src/zope/fssync/fssync.py	Sat May 10 20:23:23 2003
@@ -207,6 +207,8 @@
         entries[name] = d = {"path": ourpath, "flag": "added"}
         if isdir(path):
             d["type"] = "zope.app.content.folder.Folder"
+            self.ensuredir(join(path, "@@Zope"))
+            self.dumpentries({}, path)
         else:
             # XXX Need to guess better based on extension
             d["type"] = "zope.app.content.file.File"