potaahto

Conversions and redundancy for partisan naming choices
git clone git://git.defalsify.org/python-potaahto.git
Log | Files | Refs | LICENSE

commit 93c5197dbd6a941b3b095f243b7155ca8af366a4
parent a81f7a896980cb08556f4939f3127b2cd2fe9a49
Author: lash <dev@holbrook.no>
Date:   Sun, 30 Jan 2022 23:36:24 +0000

Remove logging

Diffstat:
Mpotaahto/symbols.py | 8++++----
Msetup.cfg | 2+-
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/potaahto/symbols.py b/potaahto/symbols.py @@ -1,8 +1,8 @@ # standard imports import re -import logging +#import logging -logg = logging.getLogger().getChild(__name__) +#logg = logging.getLogger().getChild(__name__) re_camel = re.compile(r'([a-z0-9]+)([A-Z])') @@ -38,11 +38,11 @@ def snake_and_camel(src): src_normal[k] = src[k] #if s != k: if k != s_snake: - logg.debug('adding snake {} for camel {}'.format(s_snake, k)) + #logg.debug('adding snake {} for camel {}'.format(s_snake, k)) src_normal[s_snake] = src[k] if k != s_camel: - logg.debug('adding camel {} for snake {}'.format(s_camel, k)) + #logg.debug('adding camel {} for snake {}'.format(s_camel, k)) src_normal[s_camel] = src[k] return src_normal diff --git a/setup.cfg b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = potaahto -version = 0.1.0 +version = 0.1.1 description = Conversions and redundancy for poor data formatting choices author = Louis Holbrook author_email = dev@holbrook.no