return when we don't have a ret assigned

This commit is contained in:
Thomas Vander Stichele
2013-01-27 22:30:21 +01:00
parent 6ac8408f0d
commit 7b45d5681b

View File

@@ -39,6 +39,7 @@ def main(argv):
return 255
except ImportError, e:
h.handleImportError(e)
return 255
except task.TaskException, e:
if isinstance(e.exception, ImportError):
h.handleImportError(e.exception)