Fixed a bug in PR #431 which broke wmlindent
This commit is contained in:
parent
1aede33867
commit
07b5b4e3f3
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ def convertor(linefilter, arglist, exclude):
|
|||
continue
|
||||
else:
|
||||
try:
|
||||
with open(filename,"rb") as infp, open(filename, "rb") as outfp:
|
||||
with open(filename,"rb") as infp, open(filename + ".out", "wb") as outfp:
|
||||
linefilter(filename, infp, outfp)
|
||||
except bailout as e:
|
||||
sys.stderr.write('wmlindent: "%s", %d: %s\n' % (e.filename, e.lineno, e.msg))
|
||||
|
|
Loading…
Add table
Reference in a new issue