[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] branch master updated: debug
From: |
gnunet |
Subject: |
[taler-deployment] branch master updated: debug |
Date: |
Fri, 02 Jul 2021 17:38:28 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new b45e6c6 debug
b45e6c6 is described below
commit b45e6c6997e5a3db4b6b6778312a5c4c2c55c789
Author: ms <ms@taler.net>
AuthorDate: Fri Jul 2 17:38:23 2021 +0200
debug
---
buildbot/check_tip_reserve.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/buildbot/check_tip_reserve.py b/buildbot/check_tip_reserve.py
index b54d651..a43ae6c 100755
--- a/buildbot/check_tip_reserve.py
+++ b/buildbot/check_tip_reserve.py
@@ -44,16 +44,16 @@ if len(reserves) == 0:
max_amount = Amount(TALER_CONFIG_CURRENCY, 0, 0)
for item in reserves:
committed_amount = Amount.parse(item.get("committed_amount"))
- print("Committed amount: " + committed_amount)
+ print("Committed amount: " + str(committed_amount))
allocated_amount = Amount.parse(item.get("merchant_initial_amount"))
- print("Allocated amount: " + allocated_amount)
+ print("Allocated amount: " + allocated_amount.stringify())
confirmed_amount = Amount.parse(item.get("exchange_initial_amount"))
- print("Confirmed amount: " + confirmed_amount)
+ print("Confirmed amount: " + confirmed_amount.stringify())
if allocated_amount != confirmed_amount:
print("The exchange never confirmed the tip reserve amount!")
exit(1)
remaining_amount = allocated_amount - committed_amount
- print("Remaining amount: " + remaining_amount)
+ print("Remaining amount: " + remaining_amount.stringify())
if remaining_amount > max_amount:
max_amount = remaining_amount
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.