aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2019-10-02 18:16:58 -0700
committerBryan Newbold <bnewbold@archive.org>2019-10-02 18:16:58 -0700
commit79ebb924dbd3c724ecfbe2b00e18f0ae7e51d4a6 (patch)
treee8969ca734edaedd63df323b807100f8145f3785
parentf2736d6af81618fede2de76954cc6914c30706fb (diff)
downloadsandcrawler-79ebb924dbd3c724ecfbe2b00e18f0ae7e51d4a6.tar.gz
sandcrawler-79ebb924dbd3c724ecfbe2b00e18f0ae7e51d4a6.zip
deliver_dumpgrobid_to_s3: typo fix from old prod
-rwxr-xr-xpython/scripts/deliver_dumpgrobid_to_s3.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/python/scripts/deliver_dumpgrobid_to_s3.py b/python/scripts/deliver_dumpgrobid_to_s3.py
index ac0949c..86b3b35 100755
--- a/python/scripts/deliver_dumpgrobid_to_s3.py
+++ b/python/scripts/deliver_dumpgrobid_to_s3.py
@@ -84,9 +84,10 @@ class DeliverDumpGrobidS3():
self.s3_prefix,
sha1_hex[0:4],
sha1_hex,
- self.s3_suffix,
- StorageClass=self.s3_storage_class),
- Body=tei_xml)
+ self.s3_suffix),
+ Body=tei_xml,
+ StorageClass=self.s3_storage_class,
+ )
print("{}\tsuccess\t{}\t{}".format(sha1_hex, obj.key, len(tei_xml)))
self.count['success-s3'] += 1
sys.stderr.write("{}\n".format(self.count))