Mercurial > hg
comparison hgext/factotum.py @ 41671:34ae00a14783
py3: use raw strings and %d for formatting
Before the string compares on Python 3 failed because we were
comparing bytes to str. Using raw strings ensures we are
always comparing str.
While we're here, also use %d to format integers.
Differential Revision: https://phab.mercurial-scm.org/D5925
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sun, 10 Feb 2019 14:04:08 -0800 |
parents | c31ce080eb75 |
children | 2372284d9457 |
comparison
equal
deleted
inserted
replaced
41670:db69a763bc89 | 41671:34ae00a14783 |
---|