From fb64a1ecfb4004029c2e41dffc5418edd3d4dc19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Wed, 14 Dec 2011 17:04:18 +0100 Subject: [PATCH] Use relative imports --- __init__.py | 4 ++-- tests/__init__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/__init__.py b/__init__.py index 3c5c94db6c..6691306949 100644 --- a/__init__.py +++ b/__init__.py @@ -1,5 +1,5 @@ #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 stock import * -from product import * +from .stock import * +from .product import * diff --git a/tests/__init__.py b/tests/__init__.py index c32acaac26..9963b307b2 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_stock_continental import suite +from .test_account_stock_continental import suite