Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hook.py @ 28106:cedbe8723d99
hook: even fewer parentheses for load errors
Missed this one.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Fri, 12 Feb 2016 11:34:04 -0800 |
parents | 37b818cad146 |
children | 2a71d9483199 |
line wrap: on
line diff
--- a/mercurial/hook.py Mon Feb 08 17:34:32 2016 +0100 +++ b/mercurial/hook.py Fri Feb 12 11:34:04 2016 -0800 @@ -36,7 +36,7 @@ d = funcname.rfind('.') if d == -1: raise error.HookLoadError( - _('%s hook is invalid ("%s" not in a module)') + _('%s hook is invalid: "%s" not in a module') % (hname, funcname)) modname = funcname[:d] oldpaths = sys.path