[ovs-dev] [PATCH v2] Add multi-column index support for the Python IDL

Ben Pfaff blp at ovn.org
Tue Apr 17 21:54:03 UTC 2018


On Thu, Apr 12, 2018 at 07:24:27PM -0500, twilson at redhat.com wrote:
> From: Terry Wilson <twilson at redhat.com>
> 
> This adds multi-column index support for the Python IDL that is
> similar to the feature in the C IDL. Since it adds sortedcontainers
> as a dependency and some distros don't yet package it, the library
> is copied in-tree and used if sortedcontainers is not installed.
> 
> Signed-off-by: Terry Wilson <twilson at redhat.com>

Thank you!

flake8 complained bitterly about some of the new files, so I folded in
the following, and applied this to master.

Thanks again,

Ben.

--8<--------------------------cut here-------------------------->8--

diff --git a/python/automake.mk b/python/automake.mk
index 458a2c3d20b4..5a1e1da8a79a 100644
--- a/python/automake.mk
+++ b/python/automake.mk
@@ -63,7 +63,7 @@ EXTRA_DIST += $(PYFILES)
 PYCOV_CLEAN_FILES += $(PYFILES:.py=.py,cover)
 
 FLAKE8_PYFILES += \
-	$(filter-out python/ovs/dirs.py,$(PYFILES)) \
+	$(filter-out python/ovs/compat/% python/ovs/dirs.py,$(PYFILES)) \
 	python/setup.py \
 	python/build/__init__.py \
 	python/build/nroff.py \


More information about the dev mailing list