From 3f19805d363a51f037e4df23a15b1a4157d82723 Mon Sep 17 00:00:00 2001 From: Benjamin Mako Hill Date: Wed, 1 Apr 2020 15:49:28 -0500 Subject: [PATCH 1/1] fix bug in rev scraper script Bug was a break, added for debugging, that caused the script to only work for the first article. --- wikipedia/scripts/fetch_enwiki_revisions.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/wikipedia/scripts/fetch_enwiki_revisions.py b/wikipedia/scripts/fetch_enwiki_revisions.py index 44528e8..3793c0b 100755 --- a/wikipedia/scripts/fetch_enwiki_revisions.py +++ b/wikipedia/scripts/fetch_enwiki_revisions.py @@ -141,8 +141,6 @@ def main(): rev['export_commit'] = export_git_short_hash tsv_writer.writerow({k: rev[k] for k in tsv_fields}) - break if __name__ == "__main__": - main() -- 2.39.5