compat: Fix ping command call

Remove extra argument from client.forward call.

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

Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
David Kupka
2016-08-17 14:16:04 +02:00
committed by Jan Cholasta
parent 4b43558b1c
commit 6e6cbda036
+1 -1
View File
@@ -41,7 +41,7 @@ def get_package(api, server_info, client):
try:
server_version = env['result']['api_version']
except KeyError:
ping = client.forward(u'ping', u'api_version', version=u'2.0')
ping = client.forward(u'ping', version=u'2.0')
try:
match = re.search(u'API version (2\.[0-9]+)', ping['summary'])
except KeyError: