Tweak to previous commit, fixes scons to survive when upstream is not found

This commit is contained in:
2014-06-26 16:18:38 +06:00
parent 283abdf3b2
commit ee20433cf3

View File

@@ -26,7 +26,7 @@ def get_command_output(*popenargs, **kwargs):
cmd = kwargs.get("args") cmd = kwargs.get("args")
if cmd is None: if cmd is None:
cmd = popenargs[0] cmd = popenargs[0]
raise raise subprocess.CalledProcessError(retcode, cmd, output=output)
return output return output
def get_version(): def get_version():