From 9d04876506d8e9074cc2a6f9ccbb2f0b18a29a01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Sun, 26 Jun 2005 14:07:07 +0000 Subject: [PATCH] =?UTF-8?q?commenti=20d=C3=BCzelt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pisi/build.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pisi/build.py b/pisi/build.py index 79e41bda..602cebca 100644 --- a/pisi/build.py +++ b/pisi/build.py @@ -23,12 +23,11 @@ class PisiBuildError(Exception): def getFileType(path, pinfoList): """Return the file type of a path according to the given PathInfo list""" - # The usage of depth is somewhat confusing. It is used for - # finding the best match to package.paths. For an example, - # if package.paths contains - # ['/usr/share','/usr/share/doc'] and frpath is - # /usr/share/doc/filename our iteration over package.paths - # should match the second item. + # The usage of depth is somewhat confusing. It is used for finding + # the best match to paths(in pinfolist). For an example, if paths + # contain ['/usr/share','/usr/share/doc'] and path is + # /usr/share/doc/filename our iteration over paths should match + # the second item. depth = 0 ftype = "" path = "/"+path # we need a real path.