test-ovsdb: Fix conditional statement.
authorAlex Wang <alexw@nicira.com>
Wed, 29 Apr 2015 17:41:39 +0000 (10:41 -0700)
committerAlex Wang <alexw@nicira.com>
Wed, 29 Apr 2015 20:46:32 +0000 (13:46 -0700)
commit1aa2bf92505da27320b37b53244fb9715062ab04
treebfff9ba8b71c8e0fc4806b508ee7985e40cefd33
parent4237026e52f6bfa1dac0162dd82f7bb3f26c833d
test-ovsdb: Fix conditional statement.

Old version of python does not support the following conditional
statement syntax in one assignment:

   var = value1 if cond else value2

This commit fixes it by convert it back to use two assignments.

Signed-off-by: Alex Wang <alexw@nicira.com>
Acked-by: Russell Bryant <rbryant@redhat.com>
tests/test-ovsdb.py