Make global variables immutable

This commit is contained in:
Markus Unterwaditzer 2014-12-15 20:26:51 +01:00
parent 6f959b3bd3
commit cb44046a8a

View file

@ -35,8 +35,8 @@ except ImportError:
cli_logger = log.get(__name__)
GENERAL_ALL = set(['status_path', 'passwordeval'])
GENERAL_REQUIRED = set(['status_path'])
GENERAL_ALL = frozenset(['status_path', 'passwordeval'])
GENERAL_REQUIRED = frozenset(['status_path'])
class CliError(RuntimeError):