Replace string with object in config export suppress

This commit is contained in:
nolash 2021-11-10 11:14:02 +01:00
parent 1067c8494e
commit 06c6b2562a
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
[main]
name = chainlib
version = 0.0.10
version = 0.0.12
summary = Generic blockchain access library and tooling
[author:lash]

View File

@ -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)

View File

@ -6,7 +6,7 @@ name=chainlib
license=WTFPL2
author_email=dev@holbrook.no
description=Generic blockchain access library and tooling
version=0.0.11
version=0.0.12
url=https://gitlab.com/chaintools/chainlib
author=Louis Holbrook