##// END OF EJS Templates
vcs: call the Config repr properly, we show sections count not value count.
marcink -
r752:b98fbb9d default
parent child Browse files
Show More
@@ -1438,7 +1438,8 b' class Config(object):'
1438 return clone
1438 return clone
1439
1439
1440 def __repr__(self):
1440 def __repr__(self):
1441 return '<Config(%s values) at %s>' % (len(self._values), hex(id(self)))
1441 return '<Config(%s sections) at %s>' % (
1442 len(self._values), hex(id(self)))
1442
1443
1443 def items(self, section):
1444 def items(self, section):
1444 return self._values.get(section, {}).iteritems()
1445 return self._values.get(section, {}).iteritems()
General Comments 0
You need to be logged in to leave comments. Login now