make cdist.MissingEnvironmentVariableError print the key and not fail :-)

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/feature_files_export
Nico Schottelius 14 years ago
parent df5de24b72
commit 2157cef2a6
  1. 2
      lib/cdist/__init__.py

@ -33,4 +33,4 @@ class MissingEnvironmentVariableError(Error):
self.name = name
def __str__(self):
return 'Missing required environment variable: {0.name}'.format(o)
return 'Missing required environment variable: ' + str(self.name)

Loading…
Cancel
Save