##// END OF EJS Templates
pytype: ignore attribute error for time.clock...
marmoute -
r52187:7d3b92e8 default
parent child Browse files
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