chiark
/
gitweb
/
~mdw
/
cfd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release 1.3.15.
[cfd]
/
mdwsetup.py
diff --git
a/mdwsetup.py
b/mdwsetup.py
index 94bce8a3b056165dbcee51dcd108ccc89d443a9a..dfa217e6f9fe81e8a9e715472ac90b8b72731cd4 100644
(file)
--- 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)
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.
OS.rename(temp, me.target)
## Backward compatibility.