commenti düzelt

This commit is contained in:
Barış Metin
2005-06-26 14:07:07 +00:00
parent 3c5b945d5b
commit 9d04876506
+5 -6
View File
@@ -23,12 +23,11 @@ class PisiBuildError(Exception):
def getFileType(path, pinfoList): def getFileType(path, pinfoList):
"""Return the file type of a path according to the given PathInfo """Return the file type of a path according to the given PathInfo
list""" list"""
# The usage of depth is somewhat confusing. It is used for # The usage of depth is somewhat confusing. It is used for finding
# finding the best match to package.paths. For an example, # the best match to paths(in pinfolist). For an example, if paths
# if package.paths contains # contain ['/usr/share','/usr/share/doc'] and path is
# ['/usr/share','/usr/share/doc'] and frpath is # /usr/share/doc/filename our iteration over paths should match
# /usr/share/doc/filename our iteration over package.paths # the second item.
# should match the second item.
depth = 0 depth = 0
ftype = "" ftype = ""
path = "/"+path # we need a real path. path = "/"+path # we need a real path.