# HG changeset patch # User Sean Farley # Date 2014-12-21 22:34:07 # Node ID b8b246cffdee8b9fbb345ff62a2efda1e2929101 # Parent 3436e45de2fbff5a4d3c5aec6b4cfd7928438171 namespaces: remove templatename method on the namespaces object Now that there is an object for each individual namespace, we use the templatename property on that object instead of the method on the collection of namespaces. diff --git a/mercurial/namespaces.py b/mercurial/namespaces.py --- a/mercurial/namespaces.py +++ b/mercurial/namespaces.py @@ -85,10 +85,6 @@ class namespaces(object): return n[0] raise KeyError(_('no such name: %s') % name) - def templatename(self, namespace): - """method that returns the template name of a namespace""" - return self._names[namespace].templatename - class namespace(object): """provides an interface to a namespace