diff mbox

[4/4] pwclient: Remove unhandled action 'save'

Message ID 1410189866-7725-4-git-send-email-rep.dot.nop@gmail.com
State Accepted
Headers show

Commit Message

Bernhard Reutner-Fischer Sept. 8, 2014, 3:24 p.m. UTC
The 'save' action really is called 'get' (as opposed to 'view').

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
 apps/patchwork/bin/pwclient | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bernhard Reutner-Fischer Nov. 6, 2014, 3:22 p.m. UTC | #1
ping

On 8 September 2014 17:24, Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com> wrote:
> The 'save' action really is called 'get' (as opposed to 'view').
>
> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
> ---
>  apps/patchwork/bin/pwclient | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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)
>
> --
> 2.1.0
>
diff mbox

Patch

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)