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: fix variable name clash


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch master updated: fix variable name clash
Date: Tue, 14 Mar 2017 17:16:20 +0100

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

dold pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new b1d91a7  fix variable name clash
b1d91a7 is described below

commit b1d91a77b0b63a0d451d3b19fb34d0850feb031e
Author: Florian Dold <address@hidden>
AuthorDate: Tue Mar 14 17:16:17 2017 +0100

    fix variable name clash
---
 talerbank/jinja2.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/talerbank/jinja2.py b/talerbank/jinja2.py
index abfe45e..9169a93 100644
--- a/talerbank/jinja2.py
+++ b/talerbank/jinja2.py
@@ -58,7 +58,7 @@ def url(*args, **kwargs):
     return reverse(*args, kwargs=kwargs)
 
 
-def env(name, default=None):
+def env_get(name, default=None):
     return os.environ.get(name, default)
 
 
@@ -68,7 +68,7 @@ def environment(**options):
         'static': static,
         'url': url,
         'settings_value': settings_value,
-        'env': env,
+        'env': env_get,
     })
     return env
 

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



reply via email to

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