Show More
@@ -63,7 +63,7 b' def perf(revset, target=None, contexts=F' | |||
|
63 | 63 | return parseoutput(output) |
|
64 | 64 | except CalledProcessError as exc: |
|
65 | 65 | print >> sys.stderr, 'abort: cannot run revset benchmark: %s' % exc.cmd |
|
66 | if exc.output is None: | |
|
66 | if getattr(exc, 'output', None) is None: # no output before 2.7 | |
|
67 | 67 | print >> sys.stderr, '(no output)' |
|
68 | 68 | else: |
|
69 | 69 | print >> sys.stderr, exc.output |
General Comments 0
You need to be logged in to leave comments.
Login now