[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-bank] branch master updated: fix Warning arg list
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-bank] branch master updated: fix Warning arg list |
Date: |
Mon, 20 Nov 2017 17:34:46 +0100 |
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 592f212 fix Warning arg list
592f212 is described below
commit 592f21245772dc524437801d20f4453196b1c483
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Nov 20 17:34:32 2017 +0100
fix Warning arg list
---
talerbank/app/checks.py | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/talerbank/app/checks.py b/talerbank/app/checks.py
index 7d50adb..753c5ea 100644
--- a/talerbank/app/checks.py
+++ b/talerbank/app/checks.py
@@ -10,14 +10,8 @@ def example_check(app_configs, **kwargs):
User.objects.get(username='Bank')
except User.DoesNotExist:
errors.append(
- Warning(
- 'The bank user does not exist',
- hint="run the provide_accounts management command",
- id='talerbank.E001'
- ))
+ Warning("The bank user does not exist, run the \
+ 'provide_accounts' management command."))
except OperationalError:
- errors.append(Warning(
- 'Presumably non existent database',
- hint="create a database for the application",
- id='talerbank.E002'))
+ errors.append(Warning("Presumably non existent database."))
return errors
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-bank] branch master updated: fix Warning arg list,
gnunet <=