Mercurial > hg
comparison mercurial/streamclone.py @ 27066:6f1f8e88f036
util.datestr: use divmod()
We were computing the quotient and remainder of a division operation
separately. The built-in divmod() function allows us to do this with
a single function call. Do that.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 14 Nov 2015 17:30:10 -0800 |
parents | bb0b955d050d |
children | 9fea6b38a8da |
comparison
equal
deleted
inserted
replaced
27065:93bcc73df8d5 | 27066:6f1f8e88f036 |
---|