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 authored and Martin Basti committed 2016-06-13 18:04:40 +02:00
1 parent 21def4fde0
commit 54318d1a2c
1 file changed
+1 -1
+1 -1
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,