From: Stephen Finucane Date: Fri, 26 Feb 2016 19:54:47 +0000 (+0000) Subject: pwclient: Fix bug with 'checks' target X-Git-Tag: v1.1.0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b78ec3f44d910c0c1ec7d91e59041c6686fc7ad6;p=thirdparty%2Fpatchwork.git pwclient: Fix bug with 'checks' target This function passed two unexpected arguments to the server. Remove these, thus fixing the command. Signed-off-by: Stephen Finucane Tested-by: Andy Doan --- diff --git a/patchwork/bin/pwclient b/patchwork/bin/pwclient index fdd90357..88cbd0cc 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']))