make cdist.MissingEnvironmentVariableError print the key and not fail :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
df5de24b72
commit
2157cef2a6
1 changed files with 1 additions and 1 deletions
|
@ -33,4 +33,4 @@ class MissingEnvironmentVariableError(Error):
|
||||||
self.name = name
|
self.name = name
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return 'Missing required environment variable: {0.name}'.format(o)
|
return 'Missing required environment variable: ' + str(self.name)
|
||||||
|
|
Loading…
Reference in a new issue