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
This commit is contained in:
Victor Stinner 2013-12-12 16:17:32 +01:00
parent 33202134bd
commit 2aaad74bac
1 changed files with 3 additions and 3 deletions

View File

@ -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 *