Show More
@@ -494,9 +494,9 def display(fp=None, format=3, data=None | |||||
494 | data = state |
|
494 | data = state | |
495 |
|
495 | |||
496 | if fp is None: |
|
496 | if fp is None: | |
497 | import sys |
|
497 | from .utils import procutil | |
498 |
|
498 | |||
499 |
fp = |
|
499 | fp = procutil.stdout | |
500 | if len(data.samples) == 0: |
|
500 | if len(data.samples) == 0: | |
501 | fp.write(b'No samples recorded.\n') |
|
501 | fp.write(b'No samples recorded.\n') | |
502 | return |
|
502 | return |
@@ -32,7 +32,6 mercurial/pure/parsers.py # [attribu | |||||
32 | mercurial/pycompat.py # bytes vs str issues |
|
32 | mercurial/pycompat.py # bytes vs str issues | |
33 | mercurial/repoview.py # [attribute-error] |
|
33 | mercurial/repoview.py # [attribute-error] | |
34 | mercurial/sslutil.py # [attribute-error] |
|
34 | mercurial/sslutil.py # [attribute-error] | |
35 | mercurial/statprof.py # bytes vs str on TextIO.write() [wrong-arg-types] |
|
|||
36 | mercurial/testing/storage.py # tons of [attribute-error] |
|
35 | mercurial/testing/storage.py # tons of [attribute-error] | |
37 | mercurial/ui.py # [attribute-error], [wrong-arg-types] |
|
36 | mercurial/ui.py # [attribute-error], [wrong-arg-types] | |
38 | mercurial/unionrepo.py # ui, svfs, unfiltered [attribute-error] |
|
37 | mercurial/unionrepo.py # ui, svfs, unfiltered [attribute-error] | |
@@ -72,7 +71,6 development, but may be a hinderance for | |||||
72 | > -x mercurial/pycompat.py \ |
|
71 | > -x mercurial/pycompat.py \ | |
73 | > -x mercurial/repoview.py \ |
|
72 | > -x mercurial/repoview.py \ | |
74 | > -x mercurial/sslutil.py \ |
|
73 | > -x mercurial/sslutil.py \ | |
75 | > -x mercurial/statprof.py \ |
|
|||
76 | > -x mercurial/testing/storage.py \ |
|
74 | > -x mercurial/testing/storage.py \ | |
77 | > -x mercurial/thirdparty \ |
|
75 | > -x mercurial/thirdparty \ | |
78 | > -x mercurial/ui.py \ |
|
76 | > -x mercurial/ui.py \ |
General Comments 0
You need to be logged in to leave comments.
Login now