403b09
From a13d964ab5b76816a38170f569c3edb4cbe3e06d Mon Sep 17 00:00:00 2001
403b09
From: David Kupka <dkupka@redhat.com>
403b09
Date: Tue, 16 Aug 2016 16:49:57 +0200
403b09
Subject: [PATCH] compat: Fix ping command call
403b09
403b09
Remove extra argument from client.forward call.
403b09
403b09
https://fedorahosted.org/freeipa/ticket/6095
403b09
403b09
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
403b09
---
403b09
 ipaclient/remote_plugins/compat.py | 2 +-
403b09
 1 file changed, 1 insertion(+), 1 deletion(-)
403b09
403b09
diff --git a/ipaclient/remote_plugins/compat.py b/ipaclient/remote_plugins/compat.py
403b09
index b6d099a075deaaa17143f8ddddfb11d97b75f0ed..5e08cb0ed73becbc17e724864d1a853142a5ef6f 100644
403b09
--- a/ipaclient/remote_plugins/compat.py
403b09
+++ b/ipaclient/remote_plugins/compat.py
403b09
@@ -41,7 +41,7 @@ def get_package(api, server_info, client):
403b09
         try:
403b09
             server_version = env['result']['api_version']
403b09
         except KeyError:
403b09
-            ping = client.forward(u'ping', u'api_version', version=u'2.0')
403b09
+            ping = client.forward(u'ping', version=u'2.0')
403b09
             try:
403b09
                 match = re.search(u'API version (2\.[0-9]+)', ping['summary'])
403b09
             except KeyError:
403b09
-- 
403b09
2.7.4
403b09