Remove trailing slash from collion paths

BUG:COMMENT:8612
This commit is contained in:
Fatih Aşıcı
2009-04-30 20:03:43 +00:00
parent f597b9c5dd
commit fc42fc2497
+1 -1
View File
@@ -85,7 +85,7 @@ def check_path_collision(package, pkgList):
# we'll handle this in gen_files_xml..
continue
if pisi.util.subpath(pinfo.path, path.path):
collisions.append(path.path)
collisions.append(path.path.rstrip("/"))
ctx.ui.debug(_('Path %s belongs in multiple packages') %
path.path)
return collisions