You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/pdfrw/files/pdfrw-static-fix-import-col...

27 lines
527 B

diff --git a/__main__.py b/__main__.py
index 55c6e3a..fa9dd47 100644
--- a/tests/static_pdfs/__main__.py
+++ b/tests/static_pdfs/__main__.py
@@ -14,10 +14,11 @@ Part of github.com/pmaupin/static_pdfs.
import sys
import os
-import collections
import hashlib
import static_pdfs
+from collections import defaultdict
+
params = sys.argv[1:]
destroy = params == ['destroy']
@@ -35,7 +36,7 @@ md5.
''')
-found = collections.defaultdict(list)
+found = defaultdict(list)
sys.stdout.write('\n\nReading PDFs:\n\n')