diff mercurial/revset.py @ 26778:a95c975f42e3

l10n: use %d instead of %s for numbers
author timeless@mozdev.org
date Wed, 14 Oct 2015 22:29:03 -0400
parents c027641f8a83
children f92053df8f0b
line wrap: on
line diff
--- a/mercurial/revset.py	Thu Oct 15 20:36:12 2015 -0400
+++ b/mercurial/revset.py	Wed Oct 14 22:29:03 2015 -0400
@@ -2643,7 +2643,7 @@
             l = getlist(tree[2])
             if len(l) != len(alias.args):
                 raise error.ParseError(
-                    _('invalid number of arguments: %s') % len(l))
+                    _('invalid number of arguments: %d') % len(l))
             l = [_expandaliases(aliases, a, [], cache) for a in l]
             result = _expandargs(result, dict(zip(alias.args, l)))
     else: