X-Git-Url: https://git.distorted.org.uk/~mdw/cfd/blobdiff_plain/25d898713dad330615f6347a9284bf8bff68ed11..2b0b2b455bdba783ccaca4b53bf167d4d102b299:/mdwsetup.py diff --git a/mdwsetup.py b/mdwsetup.py index 94bce8a..6acbdb6 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) OS.rename(temp, me.target) ## Backward compatibility.