Mwalker has submitted this change and it was merged.

Change subject: typo in stupid direct stomp lib call
......................................................................


typo in stupid direct stomp lib call

Change-Id: I4603989ebfedcc2e1f822269749fe3ebc487f7a3
TODO: use the facade
---
M AmazonAudit/amazon-audit.py
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Mwalker: Looks good to me, approved



diff --git a/AmazonAudit/amazon-audit.py b/AmazonAudit/amazon-audit.py
index 5819d50..38b7ab2 100755
--- a/AmazonAudit/amazon-audit.py
+++ b/AmazonAudit/amazon-audit.py
@@ -395,11 +395,11 @@
         "payment_submethod": txn['PaymentMethod'],
     }
 
+    frame = headers
+    frame['body'] = json.dumps(msg)
+
     # Inject the message
-    _stompLink.send(
-        json.dumps(msg),
-        headers
-    )
+    _stompLink.send(frame)
 
     return ctid
 

-- 
To view, visit https://gerrit.wikimedia.org/r/136721
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4603989ebfedcc2e1f822269749fe3ebc487f7a3
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/tools
Gerrit-Branch: master
Gerrit-Owner: Awight <awi...@wikimedia.org>
Gerrit-Reviewer: Katie Horn <kh...@wikimedia.org>
Gerrit-Reviewer: Mwalker <mwal...@wikimedia.org>
Gerrit-Reviewer: Ssmith <ssm...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to