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

Signed-off-by: Stephen Finucane <[email protected]>
---
 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

_______________________________________________
Patchwork mailing list
[email protected]
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to