diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-03 16:44:42 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-11-03 16:52:44 -0700 |
commit | efcc947482e9f281bb9c3f3484c29d2c8deffe09 (patch) | |
tree | 67a36d7c4a70778ccabe3bc787dd2b8ca1f28b8e /python/fatcat_cleanup.py | |
parent | 0af742bc24f39193a04c913b8abd7258fe10708a (diff) | |
download | fatcat-efcc947482e9f281bb9c3f3484c29d2c8deffe09.tar.gz fatcat-efcc947482e9f281bb9c3f3484c29d2c8deffe09.zip |
cleanups: create a separate JsonLinePusher for cleanup workers (distinct base class)
Diffstat (limited to 'python/fatcat_cleanup.py')
-rwxr-xr-x | python/fatcat_cleanup.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/fatcat_cleanup.py b/python/fatcat_cleanup.py index 8bcc2ea9..b8d0ee4d 100755 --- a/python/fatcat_cleanup.py +++ b/python/fatcat_cleanup.py @@ -7,8 +7,7 @@ import sys import raven from fatcat_tools import authenticated_api -from fatcat_tools.cleanups import FileCleaner -from fatcat_tools.importers import JsonLinePusher +from fatcat_tools.cleanups import FileCleaner, JsonLinePusher # Yep, a global. Gets DSN from `SENTRY_DSN` environment variable sentry_client = raven.Client() |