pspeclist'i dondurmeye gerek yok :(
This commit is contained in:
@@ -65,10 +65,7 @@ def buildDepResolver(pspeclist):
|
|||||||
if p in namemap.get(pspeclist[j]):
|
if p in namemap.get(pspeclist[j]):
|
||||||
pspeclist.insert(j+1, pspeclist.pop(i))
|
pspeclist.insert(j+1, pspeclist.pop(i))
|
||||||
clean = False
|
clean = False
|
||||||
if not clean:
|
return clean
|
||||||
return False
|
|
||||||
else:
|
|
||||||
return pspeclist
|
|
||||||
|
|
||||||
def runtimeDepResolver(pspeclist):
|
def runtimeDepResolver(pspeclist):
|
||||||
"""arranges the order of the pspec's in the pspeclist to satisfy runtime deps"""
|
"""arranges the order of the pspec's in the pspeclist to satisfy runtime deps"""
|
||||||
@@ -80,10 +77,7 @@ def runtimeDepResolver(pspeclist):
|
|||||||
if p in namemap.get(pspeclist[j]):
|
if p in namemap.get(pspeclist[j]):
|
||||||
pspeclist.insert(j+1, pspeclist.pop(i))
|
pspeclist.insert(j+1, pspeclist.pop(i))
|
||||||
clean = False
|
clean = False
|
||||||
if not clean:
|
return clean
|
||||||
return False
|
|
||||||
else:
|
|
||||||
return pspeclist
|
|
||||||
|
|
||||||
|
|
||||||
pspeclist = findPspecs()
|
pspeclist = findPspecs()
|
||||||
|
|||||||
Reference in New Issue
Block a user