diff options
Diffstat (limited to 'nova/flags.py')
-rw-r--r-- | nova/flags.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/nova/flags.py b/nova/flags.py index a27674472..e3a33de12 100644 --- a/nova/flags.py +++ b/nova/flags.py @@ -36,17 +36,6 @@ from nova.openstack.common import cfg FLAGS = cfg.CONF -class UnrecognizedFlag(Exception): - pass - - -def DECLARE(name, module_string, flag_values=FLAGS): - if module_string not in sys.modules: - __import__(module_string, globals(), locals()) - if name not in flag_values: - raise UnrecognizedFlag('%s not defined by %s' % (name, module_string)) - - def _get_my_ip(): """ Returns the actual ip of the local machine. |