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.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/Client/Toolset.py b/src/lib/Client/Toolset.py
index 01eee9bbd..5334e367f 100644
--- a/src/lib/Client/Toolset.py
+++ b/src/lib/Client/Toolset.py
@@ -222,8 +222,7 @@ class Toolset(object):
stats.set('version', '2.0')
stats.set('client_version', client_version)
-
- if len([key for key, val in self.structures.iteritems() if not val]) == 0:
+ if len([key for key, val in self.states.iteritems() if not val]) == 0:
stats.set('state', 'clean')
dirty = 0
else: