]> code.communitydata.science - covid19.git/blobdiff - wikipedia/scripts/fetch_enwiki_revisions.py
fix bug in rev scraper script
[covid19.git] / wikipedia / scripts / fetch_enwiki_revisions.py
index 44528e8757e04141b1af2e67740fbe316362f455..3793c0b93e155e714c5982e6c8680cdc789030da 100755 (executable)
@@ -141,8 +141,6 @@ def main():
                 rev['export_commit'] = export_git_short_hash
 
                 tsv_writer.writerow({k: rev[k] for k in tsv_fields})
                 rev['export_commit'] = export_git_short_hash
 
                 tsv_writer.writerow({k: rev[k] for k in tsv_fields})
-            break
 
 if __name__ == "__main__":
 
 if __name__ == "__main__":
-
     main()
     main()

Community Data Science Collective || Want to submit a patch?