From 99560b84cc4fdf92cb12ee3cd07dcc3109bafcd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Wed, 14 Dec 2011 17:04:12 +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 5c8fb9f8a7..981f76ae6d 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 purchase import * -from configuration import * -from invoice import * +from .purchase import * +from .configuration import * +from .invoice import * diff --git a/tests/__init__.py b/tests/__init__.py index 56a98e737b..fdda836297 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_purchase import suite +from .test_purchase import suite