##// END OF EJS Templates
typing: suppress a warning that mercurial.windows.checkosfilename is missing...
Matt Harbison -
r44335:09bcbeac default
parent child Browse files
Show More
@@ -2050,7 +2050,8 b' if pycompat.iswindows:'
2050 checkosfilename = checkwinfilename
2050 checkosfilename = checkwinfilename
2051 timer = time.clock
2051 timer = time.clock
2052 else:
2052 else:
2053 checkosfilename = platform.checkosfilename
2053 # mercurial.windows doesn't have platform.checkosfilename
2054 checkosfilename = platform.checkosfilename # pytype: disable=module-attr
2054 timer = time.time
2055 timer = time.time
2055
2056
2056 if safehasattr(time, "perf_counter"):
2057 if safehasattr(time, "perf_counter"):
General Comments 0
You need to be logged in to leave comments. Login now