bug: Fix documentation compile and config dumps #2

Merged
lash merged 21 commits from lash/docs-and-dumps into master 2021-12-21 16:00:02 +01:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 7d7209dd31 - Show all commits

View File

@ -107,7 +107,7 @@ class ArgumentParser(argparse.ArgumentParser):
self.add_argument(arg[0], type=arg[1], help=arg[2])
args = super(ArgumentParser, self).parse_args(args=argv)
if args.dumpconfig:
if getattr(args, 'dumpconfig', None) != None:
return args
if len(self.pos_args) == 1:

View File

@ -236,7 +236,7 @@ class Config(confini.Config):
if existing_r == None or r != None:
config.add(r, v, exists_ok=True)
if getattr(args, 'dumpconfig'):
if getattr(args, 'dumpconfig', None) != None:
config_keys = config.all()
with_values = not config.get('_RAW')
for k in config_keys:

View File

@ -1,6 +1,6 @@
[metadata]
name = chainlib
version = 0.0.10a7
version = 0.0.10a8
description = Generic blockchain access library and tooling
author = Louis Holbrook
author_email = dev@holbrook.no