X-Git-Url: https://git.distorted.org.uk/~mdw/cfd/blobdiff_plain/25d898713dad330615f6347a9284bf8bff68ed11..c4ce4a8e7575dada4621abc1d47d73fe87f38913:/mdwsetup.py diff --git a/mdwsetup.py b/mdwsetup.py index 94bce8a..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, (source, rc) + if rc != 0: raise SubprocessFailure, (me.sources[0], rc << 8) OS.rename(temp, me.target) ## Backward compatibility.