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 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", "")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user