mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 00:20:04 -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:
|
try:
|
||||||
server_version = env['result']['api_version']
|
server_version = env['result']['api_version']
|
||||||
except KeyError:
|
except KeyError:
|
||||||
ping = client.forward(u'ping', u'api_version', version=u'2.0')
|
ping = client.forward(u'ping', version=u'2.0')
|
||||||
try:
|
try:
|
||||||
match = re.search(u'API version (2\.[0-9]+)', ping['summary'])
|
match = re.search(u'API version (2\.[0-9]+)', ping['summary'])
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
Loading…
Reference in New Issue
Block a user