backend/server/importlib/headerSource.py | 9 ---------
1 file changed, 9 deletions(-)
New commits:
commit 48701b89c48789809d521dbd7a7a167f6b4ff6f7
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Wed Mar 2 13:26:28 2011 +0100
The sanitizePath is not used after _populateFromFile removal, removing.
diff --git a/backend/server/importlib/headerSource.py
b/backend/server/importlib/headerSource.py
index 92e63d4..b367a00 100644
--- a/backend/server/importlib/headerSource.py
+++ b/backend/server/importlib/headerSource.py
@@ -344,15 +344,6 @@ class rpmChangeLog(ChangeLog):
except UnicodeDecodeError:
self[i] = unicode(self[i], "iso-8859-1")
-def sanitizePath(path):
- if not path:
- return ""
- while path:
- if path[-1] != '/':
- break
- path = path[:-1]
- return path
-
def sanitizeList(l):
if l is None:
return []
Show replies by date