From 06c6b2562ad0dd631dd8b297bf2b20f7d63a9884 Mon Sep 17 00:00:00 2001 From: nolash Date: Wed, 10 Nov 2021 11:14:02 +0100 Subject: [PATCH] Replace string with object in config export suppress --- .bluto/bluto.ini | 2 +- chainlib/cli/config.py | 2 +- setup.cfg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.bluto/bluto.ini b/.bluto/bluto.ini index 7d1352a..0792b56 100644 --- a/.bluto/bluto.ini +++ b/.bluto/bluto.ini @@ -1,6 +1,6 @@ [main] name = chainlib -version = 0.0.10 +version = 0.0.12 summary = Generic blockchain access library and tooling [author:lash] diff --git a/chainlib/cli/config.py b/chainlib/cli/config.py index 21ef81f..94871bd 100644 --- a/chainlib/cli/config.py +++ b/chainlib/cli/config.py @@ -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) diff --git a/setup.cfg b/setup.cfg index 12e1b06..503fcee 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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