summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/importers/arxiv.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-03 12:19:52 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-11-03 12:26:30 -0700
commitcfab1ddcd8a05b62ecc16763d18a6ecee8fa234f (patch)
treec026c246f6e5938ecb828c41475ba9eeaef7f745 /python/fatcat_tools/importers/arxiv.py
parent4c77bdb8d92523935454f1c406c954913f923c01 (diff)
downloadfatcat-cfab1ddcd8a05b62ecc16763d18a6ecee8fa234f.tar.gz
fatcat-cfab1ddcd8a05b62ecc16763d18a6ecee8fa234f.zip
importers: remove unused __main__ routine
These perhaps were used in initial develoment or testing? fatcat_import.py is the correct way to do these imports, even for testing/development.
Diffstat (limited to 'python/fatcat_tools/importers/arxiv.py')
-rw-r--r--python/fatcat_tools/importers/arxiv.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/python/fatcat_tools/importers/arxiv.py b/python/fatcat_tools/importers/arxiv.py
index 7a689ed2..0957db2c 100644
--- a/python/fatcat_tools/importers/arxiv.py
+++ b/python/fatcat_tools/importers/arxiv.py
@@ -370,8 +370,3 @@ class ArxivRawImporter(EntityImporter):
resp = self.parse_record(article)
print(json.dumps(resp))
# sys.exit(-1)
-
-
-if __name__ == "__main__":
- parser = ArxivRawImporter(None)
- parser.parse_file(open(sys.argv[1]))