gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-bank] branch master updated: address #5313


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch master updated: address #5313
Date: Wed, 02 May 2018 13:24:33 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new 984541a  address #5313
984541a is described below

commit 984541aedf889660dec985447fb8b88b4df76b78
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed May 2 13:24:16 2018 +0200

    address #5313
---
 talerbank/app/amount.py | 1 +
 talerbank/app/views.py  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/talerbank/app/amount.py b/talerbank/app/amount.py
index d535586..814b9e0 100644
--- a/talerbank/app/amount.py
+++ b/talerbank/app/amount.py
@@ -31,6 +31,7 @@ class CurrencyMismatch(Exception):
 
 
 class BadFormatAmount(Exception):
+    hint = "Amount given was incorrect"
     def __init__(self, faulty_str) -> None:
         super(BadFormatAmount, self).__init__(
             "Bad format amount: " + faulty_str)
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index 2dd121e..9fbb38f 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -158,6 +158,7 @@ class WTForm(forms.Form):
 @login_required
 def profile_page(request):
     if request.method == "POST":
+        # WTForm ~ Wire Transfer Form.
         wtf = WTForm(request.POST)
         if wtf.is_valid():
             amount_parts = (settings.TALER_CURRENCY,

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]