Show More
@@ -1528,7 +1528,8 b' def tempfilter(s, cmd):' | |||||
1528 | if code: |
|
1528 | if code: | |
1529 | raise error.Abort(_("command '%s' failed: %s") % |
|
1529 | raise error.Abort(_("command '%s' failed: %s") % | |
1530 | (cmd, explainexit(code))) |
|
1530 | (cmd, explainexit(code))) | |
1531 | return readfile(outname) |
|
1531 | with open(outname, 'rb') as fp: | |
|
1532 | return fp.read() | |||
1532 | finally: |
|
1533 | finally: | |
1533 | try: |
|
1534 | try: | |
1534 | if inname: |
|
1535 | if inname: |
General Comments 0
You need to be logged in to leave comments.
Login now