From da67ae1c0a42d4a111a485d440e96b7412d0c8f6 Mon Sep 17 00:00:00 2001 From: gengchc2 Date: Fri, 28 Jul 2017 20:02:41 -0700 Subject: [PATCH] Fix renew claim NoneType error when claim renew , client return " 'NoneType' object is not iterable" this patch fix it. Change-Id: I291e85484e755f3d4a892398f03775284dbc22dd --- zaqarclient/queues/v1/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zaqarclient/queues/v1/cli.py b/zaqarclient/queues/v1/cli.py index 345df86d..56fcef12 100644 --- a/zaqarclient/queues/v1/cli.py +++ b/zaqarclient/queues/v1/cli.py @@ -969,7 +969,7 @@ class RenewClaim(command.Lister): claim_obj = queue.claim(id=parsed_args.claim_id) claim_obj.update(**kwargs) - data = claim_obj._get() + data = claim_obj keys = ("_id", "age", "ttl", "body") columns = ("Message_ID", "Age", "TTL", "Message")