lanet şey.

collutions değil o...
This commit is contained in:
Barış Metin
2005-06-29 17:57:29 +00:00
parent 3352e5f3b4
commit d0af4dcbdd
+3 -3
View File
@@ -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: