Mercurial > hg
comparison mercurial/pathutil.py @ 22199:b3e51675f98e
cleanup: avoid _ for local unused tmp variables - that is reserved for i18n
_ is usually used for i18n markup but we also used it for I-don't-care
variables.
Instead, name don't-care variables in a slightly descriptive way but use the _
prefix to designate unused variable.
This will mute some pyflakes "import '_' ... shadowed by loop variable"
warnings.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Fri, 15 Aug 2014 16:20:47 +0200 |
parents | 8dd17b19e722 |
children | e53f6b72a0e4 c02a05cc6f5e |
comparison
equal
deleted
inserted
replaced
22198:77142de48ae4 | 22199:b3e51675f98e |
---|