summaryrefslogtreecommitdiff
path: root/talerbank/app/schemas.py
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2016-04-15 11:14:02 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2016-04-15 11:14:02 +0200
commitdc176a0987e145c68409f8bd299540d40d71b244 (patch)
treecac69f79ddd02a45631207f4bf6bcee9858a8dd8 /talerbank/app/schemas.py
parent12cfb92532bb7c33616e1e00e9656126c98f3ef1 (diff)
downloadbank-dc176a0987e145c68409f8bd299540d40d71b244.tar.gz
bank-dc176a0987e145c68409f8bd299540d40d71b244.tar.bz2
bank-dc176a0987e145c68409f8bd299540d40d71b244.zip
resolving flake8 warnings
Diffstat (limited to 'talerbank/app/schemas.py')
-rw-r--r--talerbank/app/schemas.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/talerbank/app/schemas.py b/talerbank/app/schemas.py
index 4a8ba60..1b07575 100644
--- a/talerbank/app/schemas.py
+++ b/talerbank/app/schemas.py
@@ -24,12 +24,11 @@ class Schemas:
wiredetails_schema = {"type": "object",
"properties": {
"test": {"type": "object",
- "properties" : {
- "type" : {"type": "string"},
+ "properties": {
+ "type": {"type": "string"},
"account_number": {"type": "integer"},
"bank_uri": {"type": "string"}}}}}
-
amount_schema = {"type": "object",
"properties": {
"value": {"type": "integer"},
@@ -59,7 +58,6 @@ class Schemas:
raise BadWireDetails()
return True
-
@staticmethod
def validate_incoming_request(incoming_request, schema):
try: