diff options
Diffstat (limited to 'python/scripts/deliver_gwb_to_disk.py')
-rwxr-xr-x | python/scripts/deliver_gwb_to_disk.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/python/scripts/deliver_gwb_to_disk.py b/python/scripts/deliver_gwb_to_disk.py index 3dcf962..ab1906a 100755 --- a/python/scripts/deliver_gwb_to_disk.py +++ b/python/scripts/deliver_gwb_to_disk.py @@ -7,19 +7,19 @@ Tool for bulk copying of PDFs (or other files) from GWB to local disk. # in `wayback` library. Means we can't run pylint. # pylint: skip-file -import os -import sys -import json +import argparse import base64 import hashlib -import argparse +import json +import os +import sys from collections import Counter +from http.client import IncompleteRead import raven import wayback.exception -from http.client import IncompleteRead -from wayback.resourcestore import ResourceStore from gwb.loader import CDXLoaderFactory +from wayback.resourcestore import ResourceStore # Yep, a global. Gets DSN from `SENTRY_DSN` environment variable sentry_client = raven.Client() |