mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
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.
This commit is contained in:
parent
2d1b575fbb
commit
fd5469b9b3
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user