diff options
Diffstat (limited to 'keymanager/src')
-rw-r--r-- | keymanager/src/leap/keymanager/validation.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/keymanager/src/leap/keymanager/validation.py b/keymanager/src/leap/keymanager/validation.py index 8cf96da..16a897e 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() |