fixing circular import
This commit is contained in:
parent
ab6ea22ed3
commit
a145d8a4f6
@ -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", "")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user