mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
batch: do not crash when no argument is specified
https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
parent
278fa29906
commit
f8cf136c55
@ -89,7 +89,7 @@ class batch(Command):
|
||||
|
||||
def execute(self, *args, **options):
|
||||
results = []
|
||||
for arg in args[0]:
|
||||
for arg in (args[0] or []):
|
||||
params = dict()
|
||||
name = None
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user