installer: positional_arguments must be tuple or list of strings

Setting string here was causing search for substring instead of search for value
in tuple or list.

https://fedorahosted.org/freeipa/ticket/5945

Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
David Kupka 2016-06-09 07:57:43 +02:00 committed by Martin Basti
parent 21def4fde0
commit 54318d1a2c

View File

@ -26,7 +26,7 @@ from ipaserver.install.server import Replica
ReplicaInstall = cli.install_tool(
Replica,
command_name='ipa-replica-install',
positional_arguments='replica_file',
positional_arguments=['replica_file'],
usage='%prog [options] REPLICA_FILE',
log_file_name=paths.IPAREPLICA_INSTALL_LOG,
debug_option=True,