r1595'de yaptığımı geri alıyorum. Böylesi daha tutarlı gözüktü gözüme...

This commit is contained in:
Barış Metin
2005-07-01 12:57:49 +00:00
parent bdb0f4689b
commit 0b76504d83
+1 -1
View File
@@ -115,7 +115,7 @@ def commonprefix(l):
# but this one is necessary
def subpath(a, b):
"find if path a is before b in the directory tree"
return b.startswith(a)
return prefix(splitpath(a), splitpath(b))
def removepathprefix(prefix, path):
"remove path prefix a from b, finding the pathname rooted at a"