[PATCH 1/4] pwclient: Fix bug with 'checks' target

Stephen Finucane stephen.finucane at intel.com
Sat Feb 27 06:54:47 AEDT 2016


This function passed two unexpected arguments to the server. Remove
these, thus fixing the command.

Signed-off-by: Stephen Finucane <stephen.finucane at intel.com>
---
 patchwork/bin/pwclient | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patchwork/bin/pwclient b/patchwork/bin/pwclient
index fdd9035..88cbd0c 100755
--- a/patchwork/bin/pwclient
+++ b/patchwork/bin/pwclient
@@ -237,7 +237,7 @@ def action_projects(rpc):
 
 
 def action_checks(rpc):
-    checks = rpc.check_list("", 0)
+    checks = rpc.check_list()
     for check in checks:
         print("%d (for '%s')" % (check['id'], check['patch']))
 
-- 
2.0.0



More information about the Patchwork mailing list