fixing circular import

This commit is contained in:
volpino 2012-05-05 10:02:17 +02:00
parent ab6ea22ed3
commit a145d8a4f6

View File

@ -4,8 +4,6 @@ djeuscan.helpers
from distutils.version import StrictVersion, LooseVersion from distutils.version import StrictVersion, LooseVersion
from djeuscan.models import Package
def xint(i): def xint(i):
""" """
@ -30,6 +28,9 @@ def packages_from_names(data):
""" """
Returns a list of Package objects from a string of names Returns a list of Package objects from a string of names
""" """
from djeuscan.models import Package
packages = [] packages = []
data = data.replace("\r", "") data = data.replace("\r", "")