Show More
@@ -237,7 +237,7 b' class ui(object):' | |||||
237 |
|
237 | |||
238 | def write_err(self, *args): |
|
238 | def write_err(self, *args): | |
239 | try: |
|
239 | try: | |
240 | if not sys.stdout.closed: |
|
240 | if not hasattr(sys.stdout, 'closed') or not sys.stdout.closed: | |
241 | sys.stdout.flush() |
|
241 | sys.stdout.flush() | |
242 | for a in args: |
|
242 | for a in args: | |
243 | sys.stderr.write(str(a)) |
|
243 | sys.stderr.write(str(a)) |
General Comments 0
You need to be logged in to leave comments.
Login now