Re: [ovs-dev] [PATCH] test-ovsdb: Fix conditional statement.

2015-04-29 Thread Alex Wang
Applied to master~ We'll discuss more over dropping the support of those old os~ Thanks, Alex Wang, On Wed, Apr 29, 2015 at 12:15 PM, Ben Pfaff wrote: > On Wed, Apr 29, 2015 at 02:37:43PM -0400, Russell Bryant wrote: > > On 04/29/2015 01:45 PM, Alex Wang wrote: > > > Old version of python does

Re: [ovs-dev] [PATCH] test-ovsdb: Fix conditional statement.

2015-04-29 Thread Ben Pfaff
On Wed, Apr 29, 2015 at 02:37:43PM -0400, Russell Bryant wrote: > On 04/29/2015 01:45 PM, Alex Wang wrote: > > Old version of python does not support the following conditional > > statement syntax in one assignment: > > > >var = value1 if cond1 else value2 > > > > This commit fixes it by conv

Re: [ovs-dev] [PATCH] test-ovsdb: Fix conditional statement.

2015-04-29 Thread Russell Bryant
On 04/29/2015 01:45 PM, Alex Wang wrote: > Old version of python does not support the following conditional > statement syntax in one assignment: > >var = value1 if cond1 else value2 > > This commit fixes it by convert it back to use two assignments. > > Signed-off-by: Alex Wang The code l

[ovs-dev] [PATCH] test-ovsdb: Fix conditional statement.

2015-04-29 Thread Alex Wang
Old version of python does not support the following conditional statement syntax in one assignment: var = value1 if cond1 else value2 This commit fixes it by convert it back to use two assignments. Signed-off-by: Alex Wang --- tests/test-ovsdb.py |5 - 1 file changed, 4 insertions(