From c737329187be4e4d20e8b81158bf1bfeaddef924 Mon Sep 17 00:00:00 2001 From: Tyler Smith Date: Thu, 11 Aug 2011 15:44:50 -0700 Subject: [PATCH] Simplifying condition --- quantum/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/client.py b/quantum/client.py index 9297d3e87..85d405714 100644 --- a/quantum/client.py +++ b/quantum/client.py @@ -118,7 +118,7 @@ class Client(object): if type(params) is dict: action += '?' + urllib.urlencode(params) - if body != None: + if body: body = self.serialize(body) try: -- 2.45.2