Minor typo and syntax fixes

This commit is contained in:
onizenso 2016-03-25 16:28:02 +00:00
parent 870d2abbe8
commit 0227830263

View file

@ -16,7 +16,6 @@ except:
from base64 import b64encode, b64decode from base64 import b64encode, b64decode
from os import getcwd, sep, path, urandom from os import getcwd, sep, path, urandom
from pappyproxy.plugins.misc import CryptoCompressUtils as ccu
class Compress(object): class Compress(object):
def __init__(self, sessconfig): def __init__(self, sessconfig):
@ -92,4 +91,4 @@ class Compress(object):
for pf in project_files: for pf in project_files:
archive.add(pf) archive.add(pf)
except e: except e:
raise PappyException("Project archive contents corrupted. Error: ", e raise PappyException("Project archive contents corrupted. Error: ", e)