summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Toolset.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Client/Toolset.py')
-rw-r--r--src/lib/Client/Toolset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Toolset.py b/src/lib/Client/Toolset.py
index 9e5c8c97a..fc00f6a7b 100644
--- a/src/lib/Client/Toolset.py
+++ b/src/lib/Client/Toolset.py
@@ -170,7 +170,7 @@ class Toolset(object):
stats.set('good', str(good))
stats.set('version', '2.0')
stats.set('client_version', client_version)
- stats.set('revision', self.cfg.get('revision'))
+ stats.set('revision', self.cfg.get('revision', '-1'))
if len([key for key, val in self.states.iteritems() if not val]) == 0:
stats.set('state', 'clean')