Show More
@@ -2126,7 +2126,7 b' timer = getattr(time, "perf_counter", No' | |||||
2126 | if pycompat.iswindows: |
|
2126 | if pycompat.iswindows: | |
2127 | checkosfilename = checkwinfilename |
|
2127 | checkosfilename = checkwinfilename | |
2128 | if not timer: |
|
2128 | if not timer: | |
2129 | timer = time.clock |
|
2129 | timer = time.clock # pytype: disable=module-attr | |
2130 | else: |
|
2130 | else: | |
2131 | # mercurial.windows doesn't have platform.checkosfilename |
|
2131 | # mercurial.windows doesn't have platform.checkosfilename | |
2132 | checkosfilename = platform.checkosfilename # pytype: disable=module-attr |
|
2132 | checkosfilename = platform.checkosfilename # pytype: disable=module-attr |
General Comments 0
You need to be logged in to leave comments.
Login now