Files
python-ganttclient/nova/tests/runtime_flags.py
andy e70e2a10cc Add some useful features to our flags
* No longer dies if there are unknown flags.
* Allows you to declare that you will use a flag from another file
* Allows you to import new flags at runtime and reparses the original
  arguments to fill them once they are accessed.
2010-07-29 19:53:00 +02:00

6 lines
101 B
Python

from nova import flags
FLAGS = flags.FLAGS
flags.DEFINE_integer('runtime_answer', 54, 'test flag')