diff --git a/src/pylorax/ltmpl.py b/src/pylorax/ltmpl.py index 293258fe..e09fefdc 100644 --- a/src/pylorax/ltmpl.py +++ b/src/pylorax/ltmpl.py @@ -250,8 +250,8 @@ class LoraxTemplateRunner(object): # log the "ErrorType: this is what happened" line logger.error(" " + exclines[-1].strip()) # and log the entire traceback to the debug log - for line in ''.join(exclines).splitlines(): - logger.debug(" " + line) + for _line in ''.join(exclines).splitlines(): + logger.debug(" " + _line) if self.fatalerrors: raise