|
|
@@ -212,8 +212,8 @@ def genZipFile(path): |
|
|
|
try: |
|
|
|
return zipfile.ZipFile(path) |
|
|
|
except: |
|
|
|
import traceback |
|
|
|
traceback.print_exc(file=log.logfile) |
|
|
|
#import traceback |
|
|
|
#traceback.print_exc(file=log.logfile) |
|
|
|
pass |
|
|
|
|
|
|
|
log.msg('trying tar now:', `path`) |
|
|
@@ -227,8 +227,8 @@ def genZipFile(path): |
|
|
|
comp = tarfile.TAR_PLAIN |
|
|
|
return tarfile.TarFileCompat(path, compression=comp) |
|
|
|
except: |
|
|
|
import traceback |
|
|
|
traceback.print_exc(file=log.logfile) |
|
|
|
#import traceback |
|
|
|
#traceback.print_exc(file=log.logfile) |
|
|
|
raise |
|
|
|
|
|
|
|
class ZipObject(FSObject, StorageFolder): |
|
|
|