##// END OF EJS Templates
namespaces: add __iter__ and iteritems methods...
Sean Farley -
r23761:19d6271a default
parent child Browse files
Show More
@@ -49,6 +49,12 b' class namespaces(object):'
49 49 """returns the namespace object"""
50 50 return self._names[namespace]
51 51
52 def __iter__(self):
53 return self._names.__iter__()
54
55 def iteritems(self):
56 return self._names.iteritems()
57
52 58 def addnamespace(self, namespace, order=None):
53 59 """register a namespace
54 60
General Comments 0
You need to be logged in to leave comments. Login now