From e1d8d9fbe0905c005fee332d47f167f767b81624 Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Sun, 2 Mar 2008 01:15:06 -0800 Subject: [PATCH] remove some debug prints.. [git-p4: depot-paths = "//depot/": change = 1138] --- FSStorage.py | 2 +- ZipStorage.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/FSStorage.py b/FSStorage.py index 02e3d94..ed17cdf 100644 --- a/FSStorage.py +++ b/FSStorage.py @@ -262,7 +262,7 @@ def dofileadd(cd, parent, path, name): if klass is None or klass is IgnoreFile: return - print 'matched:', os.path.join(path, name), `i`, `klass` + #print 'matched:', os.path.join(path, name), `i`, `klass` return cd.addItem(parent, klass, name, **kwargs) class FSDirectory(FSObject, StorageFolder): diff --git a/ZipStorage.py b/ZipStorage.py index e098568..2c7efc6 100644 --- a/ZipStorage.py +++ b/ZipStorage.py @@ -236,7 +236,6 @@ def canHandle(path): if zipfile.is_zipfile(path): return True - print 'rar:', rarfile.is_rarfile(path) if rarfile.is_rarfile(path): return True @@ -274,7 +273,6 @@ class ZipObject(FSObject, StorageFolder): self.zip = genZipFile(self.FSpath) hier = buildNameHier(self.zip.namelist(), self.zip.infolist()) - print 'zip len:', len(hier) doupdate = False children = sets.Set(hier.keys()) for i in self.pathObjmap.keys():