[server/test] use relative import
authorJulien Cristau <julien.cristau@logilab.fr>
Tue, 13 Oct 2015 16:12:37 +0200
changeset 10790 117a6bbefbfd
parent 10789 d5671a61f281
child 10791 22611236983d
[server/test] use relative import Fixes py3k breakage
server/test/data-schema2sql/schema/State.py
--- a/server/test/data-schema2sql/schema/State.py	Tue Oct 13 11:34:37 2015 +0200
+++ b/server/test/data-schema2sql/schema/State.py	Tue Oct 13 16:12:37 2015 +0200
@@ -19,7 +19,7 @@
                             SubjectRelation, Int, String,  Boolean)
 from yams.constraints import SizeConstraint, UniqueConstraint
 
-from __init__ import RESTRICTED_RTYPE_PERMS
+from . import RESTRICTED_RTYPE_PERMS
 
 class State(EntityType):
     """used to associate simple states to an entity