diff options
author | Aravinda VK <avishwan@redhat.com> | 2019-02-21 11:25:55 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-02-25 15:30:19 +0000 |
commit | cd68f7b88b9a2c9a4e4ff9fca61517384e54130a (patch) | |
tree | a3ce6f600e594e024c601aeef1c61669c51278a6 /events/src/gf_event.py | |
parent | b2081cd8856a725c89c4d97b1399c589780b467a (diff) |
eventsapi: Fix Python3 compatibility issues
- Fixed Relative import and non-package import related issues.
- socketserver import issues fix
- Renamed installed directory name to `gfevents` from `events`(To
avoid any issues with other global libs)
Fixes: bz#1679406
Change-Id: I3dc38bc92b23387a6dfbcc0ab8283178235bf756
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Diffstat (limited to 'events/src/gf_event.py')
-rw-r--r-- | events/src/gf_event.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/events/src/gf_event.py b/events/src/gf_event.py index 0c7b7ec92d7..260b0d9aa48 100644 --- a/events/src/gf_event.py +++ b/events/src/gf_event.py @@ -12,10 +12,10 @@ import socket import time -from .eventsapiconf import SERVER_ADDRESS, EVENTS_ENABLED -from .eventtypes import all_events +from gfevents.eventsapiconf import SERVER_ADDRESS, EVENTS_ENABLED +from gfevents.eventtypes import all_events -from .utils import logger, setup_logger, get_config +from gfevents.utils import logger, setup_logger, get_config # Run this when this lib loads setup_logger() |