Better exceptions handling

This commit is contained in:
Ivan Kravets committed 2015-11-26 22:02:59 +02:00
1 parent 25f57cc683
commit ed32e07e34
8 files changed
+37 -31

No files matched your search

+1 -1
View File
@@ -395,7 +395,7 @@ class BasePlatform(object):
stderr=util.AsyncPipe(self.on_run_err)
)
except (OSError, AssertionError):
raise exception.SConsNotInstalled()
raise exception.SConsNotInstalledError()
assert "returncode" in result
# if self._found_error: