diff --git a/moulinette/actionsmap.py b/moulinette/actionsmap.py index 221a46fb..49f46565 100644 --- a/moulinette/actionsmap.py +++ b/moulinette/actionsmap.py @@ -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 diff --git a/moulinette/interfaces/__init__.py b/moulinette/interfaces/__init__.py index 4f2e33dd..efc21db9 100644 --- a/moulinette/interfaces/__init__.py +++ b/moulinette/interfaces/__init__.py @@ -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):