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:
IWAMOTO Toshihiro 2015-08-21 10:35:42 +09:00 committed by FUJITA Tomonori
parent 1fc4ec6d8a
commit 08cbbfbfff
2 changed files with 3 additions and 3 deletions

View File

@ -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):

View File

@ -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):