diff --git a/ryu/app/ofctl/api.py b/ryu/app/ofctl/api.py index d6485244..466b3314 100644 --- a/ryu/app/ofctl/api.py +++ b/ryu/app/ofctl/api.py @@ -19,7 +19,7 @@ import numbers from ryu.base import app_manager -import event +from . import event def get_datapath(app, dpid): diff --git a/ryu/app/ofctl/service.py b/ryu/app/ofctl/service.py index 2e04c27d..0ca00c71 100644 --- a/ryu/app/ofctl/service.py +++ b/ryu/app/ofctl/service.py @@ -25,8 +25,8 @@ from ryu.controller.handler import CONFIG_DISPATCHER, MAIN_DISPATCHER,\ DEAD_DISPATCHER from ryu.controller.handler import set_ev_cls -import event -import exception +from . import event +from . import exception class _SwitchInfo(object):