Browse Source

remove some debug prints..

[git-p4: depot-paths = "//depot/": change = 1138]
replace/b43bf02ddeddd088c0e6b94974ca1a46562eb3db
John-Mark Gurney 17 years ago
parent
commit
e1d8d9fbe0
2 changed files with 1 additions and 3 deletions
  1. +1
    -1
      FSStorage.py
  2. +0
    -2
      ZipStorage.py

+ 1
- 1
FSStorage.py View File

@@ -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):


+ 0
- 2
ZipStorage.py View File

@@ -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():


||||||
x
 
000:0
Loading…
Cancel
Save