From d424c0fc53d4f689fd5d2791413d24011ae30eca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Wed, 14 Dec 2011 17:04:31 +0100 Subject: [PATCH] Use relative imports --- __init__.py | 6 +++--- tests/__init__.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/__init__.py b/__init__.py index d8a2b38420..4f8bd9ddc0 100644 --- a/__init__.py +++ b/__init__.py @@ -1,6 +1,6 @@ #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 dashboard import * -from res import * -from ir import * +from .dashboard import * +from .res import * +from .ir import * diff --git a/tests/__init__.py b/tests/__init__.py index 81bf105aa2..36d6daf8e9 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_dashboard import suite +from .test_dashboard import suite