Comment 2 for bug 1248443

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/55362
Committed: http://github.com/openstack/nova/commit/47c95694e93b361e3b0738afac8e724557a36c8a
Submitter: Jenkins
Branch: master

commit 47c95694e93b361e3b0738afac8e724557a36c8a
Author: Alvaro Lopez Garcia <email address hidden>
Date: Wed Nov 6 09:29:05 2013 +0100

    Fix "in" comparisons with one element tuples

    A single value enclosed in parentheses is not a tuple (it needs a comma
    after the element) therefore the comparisons like 'if foo in ("bar")'
    are wrong.

    Closes-Bug: #1248443
    Change-Id: I29a2227c9d83efc17ecfacc86d507d75edd4eaca