[Zope3-checkins] CVS: Zope3/utilities/fssync - common.py:1.3

Guido van Rossum guido@python.org
Mon, 5 May 2003 16:48:29 -0400


Update of /cvs-repository/Zope3/utilities/fssync
In directory cvs.zope.org:/tmp/cvs-serv26450

Modified Files:
	common.py 
Log Message:
checkFSPath is no longer needed.


=== Zope3/utilities/fssync/common.py 1.2 => 1.3 ===
--- Zope3/utilities/fssync/common.py:1.2	Mon May  5 14:01:03 2003
+++ Zope3/utilities/fssync/common.py	Mon May  5 16:48:29 2003
@@ -154,19 +154,6 @@
     fo.close()
     return temp_file
 
-def checkFSPath(pathlist):
-    """Checks the file system path.
-    """
-    for path in pathlist:
-        if not os.path.exists(path):
-            err = "Invalid file system path --- "+str(path)
-        elif not os.access(path,2):
-            err = "Permission denied on --- "+str(path)
-        else:
-            err = None
-        if err is not None:
-            return err
-
 def mapFS(mappings
           , root
           , objectroot