From: Benjamin Mako Hill Date: Wed, 1 Apr 2020 20:49:28 +0000 (-0500) Subject: fix bug in rev scraper script X-Git-Url: https://code.communitydata.science/covid19.git/commitdiff_plain/3f19805d363a51f037e4df23a15b1a4157d82723?ds=sidebyside fix bug in rev scraper script Bug was a break, added for debugging, that caused the script to only work for the first article. --- 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()