Show More
@@ -147,3 +147,8 b' class namespace(object):' | |||||
147 | self.templatename = templatename |
|
147 | self.templatename = templatename | |
148 | self.namemap = namemap |
|
148 | self.namemap = namemap | |
149 | self.nodemap = nodemap |
|
149 | self.nodemap = nodemap | |
|
150 | ||||
|
151 | def names(self, repo, node): | |||
|
152 | """method that returns a (sorted) list of names in a namespace that | |||
|
153 | match a given node""" | |||
|
154 | return sorted(self.nodemap(repo, node)) |
General Comments 0
You need to be logged in to leave comments.
Login now