From ca71b1cced255fca0cce825768c19b8bdd84e83f Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Mon, 5 Sep 2016 17:09:40 +0200 Subject: [PATCH] vcs: call the Config repr properly, we show sections count not value count. --- rhodecode/lib/vcs/backends/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rhodecode/lib/vcs/backends/base.py b/rhodecode/lib/vcs/backends/base.py index e0733fa3..fc90eb3e 100644 --- a/rhodecode/lib/vcs/backends/base.py +++ b/rhodecode/lib/vcs/backends/base.py @@ -1438,7 +1438,8 @@ class Config(object): return clone def __repr__(self): - return '' % (len(self._values), hex(id(self))) + return '' % ( + len(self._values), hex(id(self))) def items(self, section): return self._values.get(section, {}).iteritems()