From 4d2d43878de5d87c02ab1adb064455f6bd2a8b18 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 25 Apr 2016 23:23:31 +0200 Subject: typo --- talerbank/talerconfig.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'talerbank/talerconfig.py') diff --git a/talerbank/talerconfig.py b/talerbank/talerconfig.py index be0e93d..d25358a 100644 --- a/talerbank/talerconfig.py +++ b/talerbank/talerconfig.py @@ -146,11 +146,11 @@ class Entry: except ValueError: raise ConfigurationError("Expected number for option '%s' in section '%s'" % (self.option.upper(), self.section.upper())) - def _getsubst(self, x): - x = self.config()["paths"][x].value + def _getsubst(self, key): + x = self.config()["paths"][key].value if x is not None: return x - x = os.environ.get(x) + x = os.environ.get(key) if x is not None: return x return None -- cgit v1.2.3