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

Guido van Rossum guido@python.org
Thu, 29 May 2003 12:29:21 -0400


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

Modified Files:
	fssync.py 
Log Message:
It's no longer necessary to set an explicit type and factory for
directories -- they are handled by IDirectoryFactory.


=== Zope3/src/zope/fssync/fssync.py 1.27 => 1.28 ===
--- Zope3/src/zope/fssync/fssync.py:1.27	Tue May 27 16:36:48 2003
+++ Zope3/src/zope/fssync/fssync.py	Thu May 29 12:29:21 2003
@@ -405,8 +405,6 @@
         zpath += tail
         entry["path"] = zpath
         entry["flag"] = "added"
-        if isdir(path):
-            entry["type"] = entry["factory"] = "zope.app.content.folder.Folder"
         self.metadata.flush()
         if isdir(path):
             # Force Entries.xml to exist, even if it wouldn't normally