From cfdbfcbf480df7e1615e34e280ddebc13ed27f0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Wed, 14 Dec 2011 17:04:11 +0100 Subject: [PATCH] Use relative imports --- __init__.py | 8 ++++---- tests/__init__.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/__init__.py b/__init__.py index 87e60c6975..6dc8f98a2b 100644 --- a/__init__.py +++ b/__init__.py @@ -1,7 +1,7 @@ #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 payment_term import * -from invoice import * -from party import * -from account import * +from .payment_term import * +from .invoice import * +from .party import * +from .account import * diff --git a/tests/__init__.py b/tests/__init__.py index 9b51bcbf4c..91fc30bb13 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_invoice import suite +from .test_account_invoice import suite