From 681bba9ee1b4c4a41425ab1d81c5e39e8a0bb51b Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sun, 23 Jul 2017 03:35:57 +0200 Subject: [PATCH] [mod] more renaming --- moulinette/actionsmap.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/moulinette/actionsmap.py b/moulinette/actionsmap.py index 9c1809ec..e2e05bd5 100644 --- a/moulinette/actionsmap.py +++ b/moulinette/actionsmap.py @@ -643,7 +643,7 @@ class ActionsMap(object): try: # Get action parser - a_parser = category_parser.add_action_parser(action_name, tid, **action_options) + action_parser = category_parser.add_action_parser(action_name, tid, **action_options) except AttributeError: # No parser for the action continue @@ -653,8 +653,8 @@ class ActionsMap(object): continue # Store action identifier and add arguments - a_parser.set_defaults(_tid=tid) - _add_arguments(tid, a_parser, arguments) + action_parser.set_defaults(_tid=tid) + _add_arguments(tid, action_parser, arguments) _set_conf(category_parser) return top_parser