lanet şey.
collutions değil o...
This commit is contained in:
+3
-3
@@ -43,15 +43,15 @@ def checkPathCollision(package, pkgList):
|
|||||||
"""This function will check for collision of paths in a package with
|
"""This function will check for collision of paths in a package with
|
||||||
the paths of packages in pkgList. The return value will be the
|
the paths of packages in pkgList. The return value will be the
|
||||||
list containing the paths that collide."""
|
list containing the paths that collide."""
|
||||||
collutions = []
|
collisions = []
|
||||||
for pinfo in package.paths:
|
for pinfo in package.paths:
|
||||||
for pkg in pkgList:
|
for pkg in pkgList:
|
||||||
if pkg is package:
|
if pkg is package:
|
||||||
continue
|
continue
|
||||||
for path in pkg.paths:
|
for path in pkg.paths:
|
||||||
if path.pathname.startswith(pinfo.pathname):
|
if path.pathname.startswith(pinfo.pathname):
|
||||||
collutions.append(path.pathname)
|
collisions.append(path.pathname)
|
||||||
return collutions
|
return collisions
|
||||||
|
|
||||||
|
|
||||||
class PisiBuild:
|
class PisiBuild:
|
||||||
|
|||||||
Reference in New Issue
Block a user