X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/blobdiff_plain/2b0b2b455bdba783ccaca4b53bf167d4d102b299..c4ce4a8e7575dada4621abc1d47d73fe87f38913:/mdwsetup.py diff --git a/mdwsetup.py b/mdwsetup.py index 6acbdb6..dfa217e 100644 --- a/mdwsetup.py +++ b/mdwsetup.py @@ -181,7 +181,7 @@ class Generate (BaseGenFile): temp = me.target + '.new' with open(temp, 'w') as ft: rc = SUB.call([SYS.executable, me.sources[0]], stdout = ft) - if rc != 0: raise SubprocessFailure, (me.sources[0], rc) + if rc != 0: raise SubprocessFailure, (me.sources[0], rc << 8) OS.rename(temp, me.target) ## Backward compatibility.