summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBin Sun <bins@vmware.com>2018-03-29 13:47:32 +0800
committerBin Sun <bins@vmware.com>2018-03-29 14:07:12 +0800
commit6a31ae3207f013269c1ec0715be732233c3cccd0 (patch)
treed05e80e19155f5b14ffd37a738c9e2aa761442cb
parent1ce731bc5f3e47fbf3bb49a81760a809e9077aed (diff)
Fix event listener issue
Change-Id: Ie1bf4166038739733e9f2cce294cdcf9dc425b88 Issue-ID: MULTICLOUD-149 Signed-off-by: Bin Sun <bins@vmware.com>
-rwxr-xr-xvio/vio/event_listener/server.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/vio/vio/event_listener/server.py b/vio/vio/event_listener/server.py
index 83b9e6f..5e6dc00 100755
--- a/vio/vio/event_listener/server.py
+++ b/vio/vio/event_listener/server.py
@@ -9,8 +9,11 @@ import ConfigParser
import json
import os
import requests
-from vio.pub.config.config import MR_ADDR
-from vio.pub.config.config import MR_PORT
+import sys
+sys.path.append("..")
+from pub.config.config import MR_ADDR # noqa
+from pub.config.config import MR_PORT # noqa
+
LOG = logging.getLogger(__name__)