From: Bernhard Reutner-Fischer Date: Mon, 8 Sep 2014 15:24:25 +0000 (+0200) Subject: pwclient: Remove unhandled action 'save' X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=12640140834e7a5fb2f1bf47bb4be8da4dc29bd0;hp=9517d2c5c0e164e67db2b02bca552fc1c6b2fb3e;p=patchwork pwclient: Remove unhandled action 'save' The 'save' action really is called 'get' (as opposed to 'view'). Signed-off-by: Bernhard Reutner-Fischer Signed-off-by: Jeremy Kerr --- diff --git a/apps/patchwork/bin/pwclient b/apps/patchwork/bin/pwclient index b86949c..d630c5b 100755 --- a/apps/patchwork/bin/pwclient +++ b/apps/patchwork/bin/pwclient @@ -650,7 +650,7 @@ def main(): for patch_id in non_empty(h, patch_ids): action_info(rpc, patch_id) - elif action in ('get', 'save'): + elif action == 'get': for patch_id in non_empty(h, patch_ids): action_get(rpc, patch_id)