Replace string with object in config export suppress
This commit is contained in:
parent
1067c8494e
commit
06c6b2562a
@ -1,6 +1,6 @@
|
||||
[main]
|
||||
name = chainlib
|
||||
version = 0.0.10
|
||||
version = 0.0.12
|
||||
summary = Generic blockchain access library and tooling
|
||||
|
||||
[author:lash]
|
||||
|
@ -242,7 +242,7 @@ class Config(confini.Config):
|
||||
if args.dumpconfig == 'ini':
|
||||
from confini.export import ConfigExporter
|
||||
exporter = ConfigExporter(config, target=sys.stdout, doc=False)
|
||||
exporter.export(exclude_sections=[config])
|
||||
exporter.export(exclude_sections=['config'])
|
||||
elif args.dumpconfig == 'env':
|
||||
from confini.env import export_env
|
||||
export_env(config)
|
||||
|
Loading…
Reference in New Issue
Block a user