summaryrefslogtreecommitdiff
path: root/keymanager/src
diff options
context:
space:
mode:
Diffstat (limited to 'keymanager/src')
-rw-r--r--keymanager/src/leap/keymanager/validation.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/keymanager/src/leap/keymanager/validation.py b/keymanager/src/leap/keymanager/validation.py
index 8cf96da1..16a897e9 100644
--- a/keymanager/src/leap/keymanager/validation.py
+++ b/keymanager/src/leap/keymanager/validation.py
@@ -79,6 +79,9 @@ class _ValidationLevels(object):
"""
return getattr(self, name)
+ def __iter__(self):
+ return iter(self._level_names)
+
ValidationLevels = _ValidationLevels()