From 45ae43d23710ef268cb374dfd449c17b26d1c6e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Wed, 14 Dec 2011 17:04:04 +0100 Subject: [PATCH] Use relative imports --- __init__.py | 16 ++++++++-------- tests/__init__.py | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/__init__.py b/__init__.py index 52ca16f605..3e3f2ce0f1 100644 --- a/__init__.py +++ b/__init__.py @@ -1,11 +1,11 @@ #This file is part of Tryton. The COPYRIGHT file at the top level of #this repository contains the full copyright notices and license terms. -from fiscalyear import * -from account import * -from configuration import * -from period import * -from journal import * -from move import * -from tax import * -from party import * +from .fiscalyear import * +from .account import * +from .configuration import * +from .period import * +from .journal import * +from .move import * +from .tax import * +from .party import * diff --git a/tests/__init__.py b/tests/__init__.py index 07fe3e23a5..e88190a9c2 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,4 @@ #This file is part of Tryton. The COPYRIGHT file at the top level of #this repository contains the full copyright notices and license terms. -from test_account import suite +from .test_account import suite