cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: updated refs/heads/master to 056e8fb
Date Sat, 25 May 2013 15:03:27 GMT
Updated Branches:
  refs/heads/master a4356b559 -> 056e8fb53


cli: Make cachemaker.py pep8 compliant

Fixes object comparision to use a "is" b instead of ==

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/056e8fb5
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/056e8fb5
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/056e8fb5

Branch: refs/heads/master
Commit: 056e8fb533db72cc052dd67fbd0389f921b38471
Parents: a4356b5
Author: Rohit Yadav <bhaisaab@apache.org>
Authored: Sat May 25 20:32:10 2013 +0530
Committer: Rohit Yadav <bhaisaab@apache.org>
Committed: Sat May 25 20:32:10 2013 +0530

----------------------------------------------------------------------
 tools/cli/cloudmonkey/cachemaker.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/056e8fb5/tools/cli/cloudmonkey/cachemaker.py
----------------------------------------------------------------------
diff --git a/tools/cli/cloudmonkey/cachemaker.py b/tools/cli/cloudmonkey/cachemaker.py
index a625b01..47749e5 100644
--- a/tools/cli/cloudmonkey/cachemaker.py
+++ b/tools/cli/cloudmonkey/cachemaker.py
@@ -101,7 +101,7 @@ def monkeycache(apis):
     cache['asyncapis'] = []
 
     apilist = getvalue(apis[responsekey], 'api')
-    if apilist == None:
+    if apilist is None:
         print "[monkeycache] Server response issue, no apis found"
 
     for api in apilist:


Mime
View raw message