aboutsummaryrefslogtreecommitdiffstats
path: root/python/sandcrawler_worker.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/sandcrawler_worker.py')
-rwxr-xr-xpython/sandcrawler_worker.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/sandcrawler_worker.py b/python/sandcrawler_worker.py
index 3c76c17..3e35807 100755
--- a/python/sandcrawler_worker.py
+++ b/python/sandcrawler_worker.py
@@ -6,7 +6,6 @@ or S3 (SeaweedFS).
"""
import argparse
-import datetime
import os
import sys
@@ -18,7 +17,7 @@ from sandcrawler.persist import PersistHtmlTeiXmlWorker, PersistXmlDocWorker
# Yep, a global. Gets DSN from `SENTRY_DSN` environment variable
try:
git_sha = raven.fetch_git_sha('..')
-except Exception as e:
+except Exception:
git_sha = None
sentry_client = raven.Client(release=git_sha)