namespaces: remove templatename method on the namespaces object
authorSean Farley <sean.michael.farley@gmail.com>
Sun, 21 Dec 2014 14:34:07 -0800
changeset 23739 b8b246cffdee
parent 23738 3436e45de2fb
child 23740 9e1f4c65f5f5
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.
mercurial/namespaces.py
--- a/mercurial/namespaces.py	Sun Dec 21 14:04:20 2014 -0800
+++ b/mercurial/namespaces.py	Sun Dec 21 14:34:07 2014 -0800
@@ -85,10 +85,6 @@
                 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