Use default_conf if it's available.
This commit is contained in:
parent
d1054406c2
commit
3ce1388137
@ -121,7 +121,9 @@ class NewConfig:
|
||||
else:
|
||||
for (val, desc) in valid_values:
|
||||
lines += wrapper.wrap(' {}: {}'.format(val, desc))
|
||||
lines += wrapper.wrap('Default: {}'.format(option.default))
|
||||
lines += wrapper.wrap('Default: {}'.format(
|
||||
option.default_conf if option.default_conf is not None
|
||||
else option.default))
|
||||
return lines
|
||||
|
||||
def _str_items(self, section):
|
||||
|
Loading…
Reference in New Issue
Block a user