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
4 changed files with 6 additions and 5 deletions
Showing only changes of commit 24d7c078e8 - Show all commits

View File

@ -224,6 +224,7 @@ class Config(confini.Config):
config.add(getattr(args, 'rpc_credentials'), 'RPC_CREDENTIALS') config.add(getattr(args, 'rpc_credentials'), 'RPC_CREDENTIALS')
for k in extra_args.keys(): for k in extra_args.keys():
logg.debug('extra_agrs {}'.format(k))
v = extra_args[k] v = extra_args[k]
if v == None: if v == None:
v = '_' + k.upper() v = '_' + k.upper()
@ -235,6 +236,7 @@ class Config(confini.Config):
pass pass
if existing_r == None or r != None: if existing_r == None or r != None:
config.add(r, v, exists_ok=True) config.add(r, v, exists_ok=True)
logg.debug('added {} to {}'.format(r, v))
if getattr(args, 'dumpconfig', None): if getattr(args, 'dumpconfig', None):
config_keys = config.all() config_keys = config.all()

View File

@ -30,9 +30,7 @@ class TxHexNormalizer:
def __hex_normalize(self, data, context): def __hex_normalize(self, data, context):
#r = add_0x(hex_uniform(strip_0x(data)))
r = hex_uniform(strip_0x(data)) r = hex_uniform(strip_0x(data))
logg.debug('normalize {} {} -> {}'.format(context, data, r))
return r return r

View File

@ -1,3 +1,3 @@
funga>=0.5.1a1,<0.6.0 funga~=0.5.1
pysha3==1.0.2 pysha3==1.0.2
hexathon~=0.0.1a8 hexathon~=0.1.0

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = chainlib name = chainlib
version = 0.0.10a10 version = 0.0.10
description = Generic blockchain access library and tooling description = Generic blockchain access library and tooling
author = Louis Holbrook author = Louis Holbrook
author_email = dev@holbrook.no author_email = dev@holbrook.no
@ -13,6 +13,7 @@ classifiers =
Programming Language :: Python :: 3 Programming Language :: Python :: 3
Operating System :: OS Independent Operating System :: OS Independent
Development Status :: 3 - Alpha Development Status :: 3 - Alpha
Topic :: Software Development :: Libraries
Environment :: Console Environment :: Console
Intended Audience :: Developers Intended Audience :: Developers
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)