diff --git a/test-requirements.txt b/test-requirements.txt index 6414c2b4..05e50c6f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,7 +2,7 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -hacking<0.11,>=0.10.2 +hacking>=1.1.0,<1.2.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 python-subunit>=1.0.0 # Apache-2.0/BSD oslotest>=1.10.0 # Apache-2.0 diff --git a/vif_plug_ovs/ovsdb/impl_vsctl.py b/vif_plug_ovs/ovsdb/impl_vsctl.py index 9396e6fc..062b255e 100644 --- a/vif_plug_ovs/ovsdb/impl_vsctl.py +++ b/vif_plug_ovs/ovsdb/impl_vsctl.py @@ -366,8 +366,8 @@ def _set_colval_args(*col_values): if isinstance(val, collections.Mapping): args += ["%s:%s%s%s" % ( col, k, op, _py_to_val(v)) for k, v in val.items()] - elif (isinstance(val, collections.Sequence) - and not isinstance(val, six.string_types)): + elif (isinstance(val, collections.Sequence) and + not isinstance(val, six.string_types)): if len(val) == 0: args.append("%s%s%s" % (col, op, "[]")) else: