##// END OF EJS Templates
dirstate: simplify dirstate's __iter__...
Alex Gaynor -
r33673:36d216dc default
parent child Browse files
Show More
@@ -359,8 +359,7 b' class dirstate(object):'
359 return key in self._map
359 return key in self._map
360
360
361 def __iter__(self):
361 def __iter__(self):
362 for x in sorted(self._map):
362 return iter(sorted(self._map))
363 yield x
364
363
365 def items(self):
364 def items(self):
366 return self._map.iteritems()
365 return self._map.iteritems()
General Comments 0
You need to be logged in to leave comments. Login now