summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/batch.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/plugins/batch.py')
-rw-r--r--ipalib/plugins/batch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipalib/plugins/batch.py b/ipalib/plugins/batch.py
index 517f4b92b..84a650575 100644
--- a/ipalib/plugins/batch.py
+++ b/ipalib/plugins/batch.py
@@ -87,9 +87,9 @@ class batch(Command):
Output('results', (list, tuple), doc='')
)
- def execute(self, *args, **options):
+ def execute(self, methods=None, **options):
results = []
- for arg in (args[0] or []):
+ for arg in (methods or []):
params = dict()
name = None
try: