From 4fc573db5a08e858506165f7323822cebb37065e Mon Sep 17 00:00:00 2001 From: tengqm Date: Tue, 3 Mar 2015 18:00:53 +0800 Subject: [PATCH] Ignore return value from update() --- senlinclient/v1/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/senlinclient/v1/client.py b/senlinclient/v1/client.py index 275c437e..ca867f4d 100644 --- a/senlinclient/v1/client.py +++ b/senlinclient/v1/client.py @@ -88,7 +88,7 @@ class Client(object): def update(self, cls, options): obj = cls.new(**options) try: - return obj.update(self.session) + obj.update(self.session) except Exception as ex: client_exc.parse_exception(ex)