summaryrefslogtreecommitdiff
path: root/talerbank/app/amount.py
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-02-05 15:50:32 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2019-03-29 18:00:58 +0100
commitc4a08b5e6eab366c8d7f3c6f2bf410bd3165a2d3 (patch)
tree63e0c1894b8ad9eddd7a61cfc3e223af8ec078e0 /talerbank/app/amount.py
parenteadac43aad616839f56067e278ac586fa940d558 (diff)
downloadbank-c4a08b5e6eab366c8d7f3c6f2bf410bd3165a2d3.tar.gz
bank-c4a08b5e6eab366c8d7f3c6f2bf410bd3165a2d3.tar.bz2
bank-c4a08b5e6eab366c8d7f3c6f2bf410bd3165a2d3.zip
Minor change for #5542.
Diffstat (limited to 'talerbank/app/amount.py')
-rw-r--r--talerbank/app/amount.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/talerbank/app/amount.py b/talerbank/app/amount.py
index 959dab4..588b6b6 100644
--- a/talerbank/app/amount.py
+++ b/talerbank/app/amount.py
@@ -61,12 +61,12 @@ class BadFormatAmount(Exception):
# Main Amount class.
class NumberTooBig(Exception):
def __init__(self) -> None:
- super(BadFormatAmount, self).__init__(
+ super(NumberTooBig, self).__init__(
"Number given is too big!")
class NegativeNumber(Exception):
def __init__(self) -> None:
- super(BadFormatAmount, self).__init__(
+ super(NegativeNumber, self).__init__(
"Negative number given as value and/or fraction!")
class Amount: