diff --git a/scripts/build_integration_tests.py b/scripts/build_integration_tests.py index 673cacdfa..22ab3db96 100755 --- a/scripts/build_integration_tests.py +++ b/scripts/build_integration_tests.py @@ -45,6 +45,7 @@ def quote(s): def string_of_error(e): + line = '' if issues.JSON_INDEX_LINE in e: line = ' on line %s ' % e[issues.JSON_INDEX_LINE] msg = '%s in file %s, procedure %s%s' % (