From a145d8a4f61b7235f2c236c782eb1aad2505c430 Mon Sep 17 00:00:00 2001 From: volpino Date: Sat, 5 May 2012 10:02:17 +0200 Subject: [PATCH] fixing circular import --- euscanwww/djeuscan/helpers.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/euscanwww/djeuscan/helpers.py b/euscanwww/djeuscan/helpers.py index 5195820..eafe8f1 100644 --- a/euscanwww/djeuscan/helpers.py +++ b/euscanwww/djeuscan/helpers.py @@ -4,8 +4,6 @@ djeuscan.helpers from distutils.version import StrictVersion, LooseVersion -from djeuscan.models import Package - def xint(i): """ @@ -30,6 +28,9 @@ def packages_from_names(data): """ Returns a list of Package objects from a string of names """ + + from djeuscan.models import Package + packages = [] data = data.replace("\r", "")