This commit is contained in:
dockes 2009-10-23 16:03:39 +00:00
parent f4c0c9edc1
commit 528547bf94

View File

@ -26,7 +26,7 @@ class ZipExtractor:
cmd = "unzip -p '%s' '%s'"%(self.zipfile, name)
f = os.popen(cmd, "r")
data = f.read()
# em.rclog("data: %s" % data)
# self.em.rclog("data: %s" % data)
status = f.close()
if status:
return (False, "")
@ -48,7 +48,7 @@ class ZipExtractor:
def getnext(self, params):
if self.currentindex >= len(self.contents):
#em.rclog("getnext: EOF hit")
#self.em.rclog("getnext: EOF hit")
return (False, "", "", 1)
else:
ret= self.extractone(self.contents[self.currentindex].rstrip("\n"))