diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2013-05-17 10:08:50 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-05-18 05:55:04 +0900 |
commit | 688f1967248a523fe80d55d7869f72d4da757409 (patch) | |
tree | cf5fd9c40524a506135b73e048952a6007447881 | |
parent | 66e2e848cfa1bc6f69a60cfd89e75d9428c8ffa4 (diff) |
app/gre_tunnel: pylint
> E: 60,18:PortSet.EventTunnelKeyDel.__init__: Undefined variable 'EventTunnelKeyDel'
> W: 18,0: Unused import logging
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/app/gre_tunnel.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ryu/app/gre_tunnel.py b/ryu/app/gre_tunnel.py index 46074d23..5fed3651 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): |