Use the "not in" operator for collection membership evaluation

Bug #1112058 reported by shu, xinxin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Fix Released
Undecided
shu, xinxin

Bug Description

if not X in Y: # BAD, hard to understand
      pass

if X not in Y: # OKAY, intuitive
      pass

shu, xinxin (xinxin-shu)
Changed in keystone:
assignee: nobody → shu, xinxin (xinxin-shu)
Revision history for this message
gordon chung (chungg) wrote :

this item has been fixed and merged -- https://review.openstack.org/#/c/20878/

Changed in keystone:
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in keystone:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in keystone:
milestone: grizzly-3 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.