From 022783026381f54ef87d45b404bda48aa6b698dd Mon Sep 17 00:00:00 2001 From: onizenso Date: Fri, 25 Mar 2016 16:28:02 +0000 Subject: [PATCH] Minor typo and syntax fixes --- pappyproxy/compress.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pappyproxy/compress.py b/pappyproxy/compress.py index ec4370d..662f30b 100644 --- a/pappyproxy/compress.py +++ b/pappyproxy/compress.py @@ -16,7 +16,6 @@ except: from base64 import b64encode, b64decode from os import getcwd, sep, path, urandom -from pappyproxy.plugins.misc import CryptoCompressUtils as ccu class Compress(object): def __init__(self, sessconfig): @@ -86,10 +85,10 @@ class Compress(object): if tarfile.is_tarfile(self.bz2_archive): # Attempt to read the first 16 bytes of the archive # Raise exception if there is a failure - project_files = self.config.get_project_files() + project_files = self.config.get_project_files() try: with tarfile.open(self.bz2_archive, "r:bz2") as archive: for pf in project_files: archive.add(pf) except e: - raise PappyException("Project archive contents corrupted. Error: ", e + raise PappyException("Project archive contents corrupted. Error: ", e)