Hello,
I hope this list is still the proper avenue for submitting a patch. I
believe I've fixed a bug in the ovsdb api
(ryu/services/protocols/ovsdb/api.py) in which a lambda function had an
extra parameter causing an error when using the del_port_by_name function.
I've attached the patch.
Thank you,
Matt Moskowitz
From 8e2ff404596ddaf89c6d66f14005b098dffa012c Mon Sep 17 00:00:00 2001
From: Matt Moskowitz <m...@bestateless.com>
Date: Mon, 11 Sep 2017 09:09:32 -0600
Subject: [PATCH] remove extra lambda function parameter
Signed-off-by: Matt Moskowitz <m...@bestateless.com>
---
ryu/services/protocols/ovsdb/api.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ryu/services/protocols/ovsdb/api.py b/ryu/services/protocols/ovsdb/api.py
index 21ef5b06..163658c9 100644
--- a/ryu/services/protocols/ovsdb/api.py
+++ b/ryu/services/protocols/ovsdb/api.py
@@ -358,7 +358,7 @@ def del_port_by_uuid(manager, system_id, bridge_name, port_uuid):
def del_port_by_name(manager, system_id, bridge_name, port_name):
return del_port(manager, system_id, bridge_name,
- lambda tables, _: _get_port(tables, port_name))
+ lambda tables: _get_port(tables, port_name))
def set_controller(manager, system_id, bridge_name,
--
2.11.0
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel