mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 23:50:03 -06:00
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:
parent
4b43558b1c
commit
6e6cbda036
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user