commenti düzelt
This commit is contained in:
+5
-6
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user