Remove option count from sample configuration
This doesn't serve much purpose, and makes it much harder than it should be to merge multiple patches that change the sample config. Change-Id: I44895bfbf4a7c9af30040f84b17a97f8e2f4e5b6
This commit is contained in:
parent
d951222c14
commit
50d0d65169
@ -1774,4 +1774,3 @@
|
||||
#volume_dd_blocksize=1M
|
||||
|
||||
|
||||
# Total option count: 382
|
||||
|
@ -39,7 +39,6 @@ FLOATOPT = "FloatOpt"
|
||||
LISTOPT = "ListOpt"
|
||||
MULTISTROPT = "MultiStrOpt"
|
||||
|
||||
OPTION_COUNT = 0
|
||||
OPTION_REGEX = re.compile(r"(%s)" % "|".join([STROPT, BOOLOPT, INTOPT,
|
||||
FLOATOPT, LISTOPT,
|
||||
MULTISTROPT]))
|
||||
@ -72,7 +71,6 @@ def main(srcfiles):
|
||||
mods.sort()
|
||||
for mod_str in mods:
|
||||
_print_module(mod_str)
|
||||
print("# Total option count: %d" % OPTION_COUNT)
|
||||
|
||||
|
||||
def _print_module(mod_str):
|
||||
@ -99,8 +97,6 @@ def _list_opts(obj, name):
|
||||
opts.extend(attr_obj)
|
||||
if not opts:
|
||||
return
|
||||
global OPTION_COUNT
|
||||
OPTION_COUNT += len(opts)
|
||||
print('#')
|
||||
print('# Options defined in %s' % name)
|
||||
print('#')
|
||||
|
Loading…
x
Reference in New Issue
Block a user