##// END OF EJS Templates
churn: remove redundant round()...
Augie Fackler -
r40300:12e2e5cd default
parent child Browse files
Show More
@@ -205,7 +205,7 b' def churn(ui, repo, *pats, **opts):'
205 '*' * charnum(sum(count)))
205 '*' * charnum(sum(count)))
206
206
207 def charnum(count):
207 def charnum(count):
208 return int(round(count * width // maxcount))
208 return int(count * width // maxcount)
209
209
210 for name, count in rate:
210 for name, count in rate:
211 ui.write(format(name, count))
211 ui.write(format(name, count))
General Comments 0
You need to be logged in to leave comments. Login now