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