diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-02-22 11:48:41 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-02-22 11:48:41 -0800 |
commit | fbbd7f2dc2d4a82d3da9327a7297f47103196544 (patch) | |
tree | 76d6c953b3842fd4273a73a8780c554638f7ecff /python/fatcat_tools/workers/changelog.py | |
parent | 74c5f30ab878a914d3edb51040f4d78054684947 (diff) | |
download | fatcat-fbbd7f2dc2d4a82d3da9327a7297f47103196544.tar.gz fatcat-fbbd7f2dc2d4a82d3da9327a7297f47103196544.zip |
bunch of lint/whitespace cleanups
Diffstat (limited to 'python/fatcat_tools/workers/changelog.py')
-rw-r--r-- | python/fatcat_tools/workers/changelog.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/fatcat_tools/workers/changelog.py b/python/fatcat_tools/workers/changelog.py index 636ed304..39a84f18 100644 --- a/python/fatcat_tools/workers/changelog.py +++ b/python/fatcat_tools/workers/changelog.py @@ -34,7 +34,7 @@ class ChangelogWorker(FatcatWorker): self.offset = 1 with topic.get_producer() as producer: - while True: + while True: latest = int(self.api.get_changelog(limit=1)[0].index) if latest > self.offset: print("Fetching changelogs from {} through {}".format( @@ -101,4 +101,3 @@ class EntityUpdatesWorker(FatcatWorker): timestamp=None, ) #consumer.commit_offsets() - |