python3: Fix relative imports
Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
1fc4ec6d8a
commit
08cbbfbfff
@ -19,7 +19,7 @@
|
|||||||
import numbers
|
import numbers
|
||||||
|
|
||||||
from ryu.base import app_manager
|
from ryu.base import app_manager
|
||||||
import event
|
from . import event
|
||||||
|
|
||||||
|
|
||||||
def get_datapath(app, dpid):
|
def get_datapath(app, dpid):
|
||||||
|
@ -25,8 +25,8 @@ from ryu.controller.handler import CONFIG_DISPATCHER, MAIN_DISPATCHER,\
|
|||||||
DEAD_DISPATCHER
|
DEAD_DISPATCHER
|
||||||
from ryu.controller.handler import set_ev_cls
|
from ryu.controller.handler import set_ev_cls
|
||||||
|
|
||||||
import event
|
from . import event
|
||||||
import exception
|
from . import exception
|
||||||
|
|
||||||
|
|
||||||
class _SwitchInfo(object):
|
class _SwitchInfo(object):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user