##// END OF EJS Templates
dirstate: implement __len__ on dirstatemap (issue5695)...
Simon Whitaker -
r34409:7d2f71b7 default
parent child Browse files
Show More
@@ -1300,6 +1300,9 b' class dirstatemap(object):'
1300 def iteritems(self):
1300 def iteritems(self):
1301 return self._map.iteritems()
1301 return self._map.iteritems()
1302
1302
1303 def __len__(self):
1304 return len(self._map)
1305
1303 def __iter__(self):
1306 def __iter__(self):
1304 return iter(self._map)
1307 return iter(self._map)
1305
1308
General Comments 0
You need to be logged in to leave comments. Login now