[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] branch master updated: minor
From: |
gnunet |
Subject: |
[libeufin] branch master updated: minor |
Date: |
Thu, 11 Jun 2020 18:47:14 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
The following commit(s) were added to refs/heads/master by this push:
new 65dd58f minor
65dd58f is described below
commit 65dd58fc819562255679db601b950044732a3a79
Author: MS <ms@taler.net>
AuthorDate: Thu Jun 11 18:47:10 2020 +0200
minor
---
cli/libeufin-cli-new | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/cli/libeufin-cli-new b/cli/libeufin-cli-new
index b4e6844..f7f2dea 100755
--- a/cli/libeufin-cli-new
+++ b/cli/libeufin-cli-new
@@ -134,7 +134,7 @@ def submit_payment(obj, account_name, payment_uuid,
nexus_user_id, nexus_passwor
nexus_base_url,
"/bank-accounts/{}/prepared-payments/{}/submit".format(account_name,
payment_uuid)
)
try:
- post(url, json=dict(), auth = auth.HTTPBasicAuth(nexus_user_id,
nexus_password))
+ resp = post(url, json=dict(), auth = auth.HTTPBasicAuth(nexus_user_id,
nexus_password))
except Exception:
print("Could not reach nexus")
return
@@ -151,7 +151,7 @@ def submit_payment(obj, account_name, nexus_user_id,
nexus_password, nexus_base_
nexus_base_url,
"/bank-accounts/{}/fetch-transactions".format(account_name)
)
try:
- post(url, json=dict(), auth = auth.HTTPBasicAuth(nexus_user_id,
nexus_password))
+ resp = post(url, json=dict(), auth = auth.HTTPBasicAuth(nexus_user_id,
nexus_password))
except Exception:
print("Could not reach nexus")
return
@@ -166,7 +166,7 @@ def submit_payment(obj, account_name, nexus_user_id,
nexus_password, nexus_base_
def transactions(obj, account_name, nexus_user_id, nexus_password,
nexus_base_url):
url = urljoin(nexus_base_url,
"/bank-accounts/{}/transactions".format(account_name))
try:
- get(url, auth = auth.HTTPBasicAuth(nexus_user_id, nexus_password))
+ resp = get(url, auth = auth.HTTPBasicAuth(nexus_user_id,
nexus_password))
except Exception:
print("Could not reach nexus")
return
@@ -220,7 +220,7 @@ def associate_bank_account(obj, iban, bic, person_name,
account_name,
)
try:
- post(url, json=body)
+ resp = post(url, json=body)
except Exception:
print("Could not reach sandbox")
return
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libeufin] branch master updated: minor,
gnunet <=