summaryrefslogtreecommitdiffstats
path: root/vio
diff options
context:
space:
mode:
Diffstat (limited to 'vio')
-rw-r--r--vio/vio/scripts/api.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/vio/vio/scripts/api.py b/vio/vio/scripts/api.py
index c3bd1a7..5ba83c9 100644
--- a/vio/vio/scripts/api.py
+++ b/vio/vio/scripts/api.py
@@ -12,9 +12,13 @@
import eventlet
eventlet.monkey_patch()
+import os # noqa
from oslo_config import cfg # noqa
from oslo_service import service # noqa
import sys # noqa
+# FIXME: Since there is no explicitly setup process for the project. Hack the
+# python here.
+sys.path.append(os.path.abspath('.'))
from vio.api_v2 import service as api_service # noqa