From 79ebb924dbd3c724ecfbe2b00e18f0ae7e51d4a6 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 2 Oct 2019 18:16:58 -0700 Subject: deliver_dumpgrobid_to_s3: typo fix from old prod --- python/scripts/deliver_dumpgrobid_to_s3.py | 7 ++++--- 1 file 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)) -- cgit v1.2.3