diff options
author | Bryan Newbold <bnewbold@archive.org> | 2019-10-02 18:16:58 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2019-10-02 18:16:58 -0700 |
commit | 79ebb924dbd3c724ecfbe2b00e18f0ae7e51d4a6 (patch) | |
tree | e8969ca734edaedd63df323b807100f8145f3785 /python/scripts | |
parent | f2736d6af81618fede2de76954cc6914c30706fb (diff) | |
download | sandcrawler-79ebb924dbd3c724ecfbe2b00e18f0ae7e51d4a6.tar.gz sandcrawler-79ebb924dbd3c724ecfbe2b00e18f0ae7e51d4a6.zip |
deliver_dumpgrobid_to_s3: typo fix from old prod
Diffstat (limited to 'python/scripts')
-rwxr-xr-x | python/scripts/deliver_dumpgrobid_to_s3.py | 7 |
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)) |