Browse files

Replace != None with is not None.

  • Loading branch information...
1 parent 1434386 commit f1fea71989dbb4538d4d058899c44aa8446949a8 @YorikSar YorikSar committed Jul 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 openstack/common/wsgi.py
View
2 openstack/common/wsgi.py
@@ -353,7 +353,7 @@ def serialize_response(self, action, action_result, request):
#TODO check why it fails with original openstack code
#self.dispatch(self.serializer, action, response,
# action_result, request)
- if action_result != None:
+ if action_result is not None:
self.serializer.default(response, action_result)
msg = "Response: %s" % response
logger.debug(msg)

0 comments on commit f1fea71

Please sign in to comment.