From 2aaad74bacaa0b86de400bd655aa22a63878d384 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 12 Dec 2013 16:17:32 +0100 Subject: [PATCH] Fix syntax of relative imports for Python3 In Python 3, relative imports must be written "from .module import name": http://docs.python.org/3.0/whatsnew/3.0.html#removed-syntax Change-Id: I2ec8a7330e63ea64d291f2f37f0c01cdf765d4f7 --- oslo/messaging/rpc/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oslo/messaging/rpc/__init__.py b/oslo/messaging/rpc/__init__.py index 7f277d891..f9cc88194 100644 --- a/oslo/messaging/rpc/__init__.py +++ b/oslo/messaging/rpc/__init__.py @@ -27,6 +27,6 @@ __all__ = [ 'get_rpc_server', ] -from client import * -from dispatcher import * -from server import * +from .client import * +from .dispatcher import * +from .server import *