diff options
Diffstat (limited to 'openstack')
| -rw-r--r-- | openstack/common/config/generator.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/openstack/common/config/generator.py b/openstack/common/config/generator.py index 3d2809b..07aa296 100644 --- a/openstack/common/config/generator.py +++ b/openstack/common/config/generator.py @@ -50,7 +50,6 @@ OPT_TYPES = { MULTISTROPT: 'multi valued', } -OPTION_COUNT = 0 OPTION_REGEX = re.compile(r"(%s)" % "|".join([STROPT, BOOLOPT, INTOPT, FLOATOPT, LISTOPT, MULTISTROPT])) @@ -97,8 +96,6 @@ def generate(srcfiles): for group, opts in opts_by_group.items(): print_group_opts(group, opts) - print("# Total option count: %d" % OPTION_COUNT) - def _import_module(mod_str): try: @@ -163,9 +160,7 @@ def _list_opts(obj): def print_group_opts(group, opts_by_module): print("[%s]" % group) print('') - global OPTION_COUNT for mod, opts in opts_by_module: - OPTION_COUNT += len(opts) print('#') print('# Options defined in %s' % mod) print('#') |
