mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 13:56:09 +02:00
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>
This commit is contained in:
parent
66e2e848cf
commit
688f196724
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user