diff options
author | Brian Harring <ferringb@gentoo.org> | 2005-10-01 09:12:27 +0000 |
---|---|---|
committer | Brian Harring <ferringb@gentoo.org> | 2005-10-01 09:12:27 +0000 |
commit | 991f09f9a7d4f734f0f46087f7f6eee5dbe00d67 (patch) | |
tree | 80077c134380d60036a8d9a8679addfe2487e091 | |
parent | bfa98d7a5b7a70d90e8cc89ceb0d2a268ccb862e (diff) | |
download | portage-991f09f9a7d4f734f0f46087f7f6eee5dbe00d67.tar.gz portage-991f09f9a7d4f734f0f46087f7f6eee5dbe00d67.tar.bz2 portage-991f09f9a7d4f734f0f46087f7f6eee5dbe00d67.zip |
touches up on file.name check, part of glep31
svn path=/main/branches/2.0/; revision=2065
-rw-r--r-- | ChangeLog | 3 | ||||
-rwxr-xr-x | bin/repoman | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -7,6 +7,9 @@ 2. /var/cache/edb/world is now /var/lib/portage/world. 3. /etc/portage/profile/virtuals is _USER_ configs only. + 01 Oct 2005; Brian Harring <ferringb@gentoo.org> bin/repoman: + Touch ups to file.name check. + 01 Oct 2005; Brian Harring <ferringb@gentoo.org> bin/ebuild, pym/portage.py: Fixed ebuild some-ebuild setup unpack so it functions like diff --git a/bin/repoman b/bin/repoman index 62e7852f3..4b813a3a1 100755 --- a/bin/repoman +++ b/bin/repoman @@ -835,10 +835,10 @@ for x in scanlist: stats["file.size"] += 1 fails["file.size"].append("("+ str(mystat.st_size/1024) + "K) "+x+"/files/"+y) - for c in y.strip(os.path.sep): + for c in os.path.basename(y.rstrip(os.path.sep)): if c not in allowed_filename_chars_set: stats["file.name"] += 1 - fails["file.name"].append("%s/%s: char '%s'" % (checkdir, y, c)) + fails["file.name"].append("%s/files/%s: char '%s'" % (checkdir, y, c)) break |