]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
pwclient: Fix bug with 'checks' target
authorStephen Finucane <stephen.finucane@intel.com>
Fri, 26 Feb 2016 19:54:47 +0000 (19:54 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 3 Mar 2016 14:44:55 +0000 (14:44 +0000)
This function passed two unexpected arguments to the server. Remove
these, thus fixing the command.

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Tested-by: Andy Doan <andy.doan@linaro.org>
patchwork/bin/pwclient

index fdd9035748983859b0d15a9d7ea1354a1dddf0bb..88cbd0ccd73d98a4dea2bda980f67089940b5691 100755 (executable)
@@ -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']))