> E: 60,18:PortSet.EventTunnelKeyDel.__init__: Undefined variable 
> 'EventTunnelKeyDel'
> W: 18,0: Unused import logging

Signed-off-by: Isaku Yamahata <[email protected]>
---
 ryu/app/gre_tunnel.py |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ryu/app/gre_tunnel.py b/ryu/app/gre_tunnel.py
index ea725d2..061ea1d 100644
--- a/ryu/app/gre_tunnel.py
+++ b/ryu/app/gre_tunnel.py
@@ -15,7 +15,6 @@
 # limitations under the License.
 
 import collections
-import logging
 
 from ryu import exception as ryu_exc
 from ryu.app.rest_nw_id import (NW_ID_VPORT_GRE,
@@ -57,7 +56,7 @@ class PortSet(app_manager.RyuApp):
 
     class EventTunnelKeyDel(event.EventBase):
         def __init__(self, tunnel_key):
-            super(EventTunnelKeyDel, self).__init__()
+            super(PortSet.EventTunnelKeyDel, self).__init__()
             self.tunnel_key = tunnel_key
 
     class EventPortBase(event.EventBase):
-- 
1.7.10.4


------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to