Signed-off-by: WATANABE Fumitaka <[email protected]>
---
ryu/app/rest_firewall.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ryu/app/rest_firewall.py b/ryu/app/rest_firewall.py
index b8919e9..0a23e03 100644
--- a/ryu/app/rest_firewall.py
+++ b/ryu/app/rest_firewall.py
@@ -452,7 +452,7 @@ class FirewallController(ControllerBase):
msgs = {}
for f_ofs in dps.values():
function = getattr(f_ofs, func)
- msg = function(waiters) if waiters else function()
+ msg = function() if waiters is None else function(waiters)
msgs.update(msg)
body = json.dumps(msgs)
-- 1.7.10.4
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel