summaryrefslogtreecommitdiff
path: root/pdfrw/compress.py
diff options
context:
space:
mode:
Diffstat (limited to 'pdfrw/compress.py')
-rw-r--r--pdfrw/compress.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/pdfrw/compress.py b/pdfrw/compress.py
index e2b16c5..0479131 100644
--- a/pdfrw/compress.py
+++ b/pdfrw/compress.py
@@ -1,5 +1,5 @@
-# A part of pdfrw (pdfrw.googlecode.com)
-# Copyright (C) 2006-2009 Patrick Maupin, Austin, Texas
+# A part of pdfrw (https://github.com/pmaupin/pdfrw)
+# Copyright (C) 2006-2015 Patrick Maupin, Austin, Texas
# MIT license -- See LICENSE.txt for details
'''
@@ -7,10 +7,11 @@ Currently, this sad little file only knows how to decompress
using the flate (zlib) algorithm. Maybe more later, but it's
not a priority for me...
'''
-import zlib
-from pdfrw.objects import PdfDict, PdfName
-from pdfrw.errors import log
-from pdfrw.uncompress import streamobjects
+
+from .objects import PdfName
+from .uncompress import streamobjects
+from .py23_diffs import zlib
+
def compress(mylist):
flate = PdfName.FlateDecode