Tweaking debug messages

This commit is contained in:
Alexandre Aubin 2020-05-01 04:33:14 +02:00
parent 559f40a4ea
commit 89ad543797
2 changed files with 2 additions and 6 deletions

View file

@ -283,7 +283,6 @@ class ExtraArgumentParser(object):
if iface in klass.skipped_iface:
continue
self.extra[klass.name] = klass
logger.debug("extra parameter classes loaded: %s", self.extra.keys())
def validate(self, arg_name, parameters):
"""
@ -651,6 +650,8 @@ class ActionsMap(object):
"""
logger.debug("building parser...")
# If loading from cache, extra were already checked when cache was
# loaded ? Not sure about this ... old code is a bit mysterious...
validate_extra = not self.from_cache

View file

@ -342,11 +342,6 @@ class _CallbackAction(argparse.Action):
self.callback_method = callback.get("method")
self.callback_kwargs = callback.get("kwargs", {})
self.callback_return = callback.get("return", False)
logger.debug(
"registering new callback action '{0}' to {1}".format(
self.callback_method, option_strings
)
)
@property
def callback(self):