diff --git a/mercurial/extensions.py b/mercurial/extensions.py --- a/mercurial/extensions.py +++ b/mercurial/extensions.py @@ -396,8 +396,8 @@ break if currcls is object: - raise AttributeError( - _("type '%s' has no property '%s'") % (cls, propname)) + raise AttributeError(r"type '%s' has no property '%s'" % ( + cls, propname)) def wrapfunction(container, funcname, wrapper): '''Wrap the function named funcname in container