mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
compat: fix ping call
Copy & paste accident caused the ping command to be called with an unwanted argument, which results in an exception. Remove the argument to fix it. https://fedorahosted.org/freeipa/ticket/6129
This commit is contained in:
parent
0253f3d731
commit
b8b7b9bf8e
@ -39,7 +39,7 @@ def get_package(api, 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