diff options
author | Jason Stubbs <jstubbs@gentoo.org> | 2005-10-04 16:01:56 +0000 |
---|---|---|
committer | Jason Stubbs <jstubbs@gentoo.org> | 2005-10-04 16:01:56 +0000 |
commit | 08936baaec5ab3cf50445513d9f5c92f9b74fc07 (patch) | |
tree | 1bb8acc355ecbaba579839298482cddf5327410e | |
parent | 76d849b5475f4815da33bc438f82db3c0df0a3af (diff) | |
download | portage-08936baaec5ab3cf50445513d9f5c92f9b74fc07.tar.gz portage-08936baaec5ab3cf50445513d9f5c92f9b74fc07.tar.bz2 portage-08936baaec5ab3cf50445513d9f5c92f9b74fc07.zip |
Add path to utf-8 checks so that repoman doesn't break outside of the package dir
svn path=/main/branches/2.0/; revision=2089
-rwxr-xr-x | bin/repoman | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/repoman b/bin/repoman index 4b813a3a1..17f10a63b 100755 --- a/bin/repoman +++ b/bin/repoman @@ -686,7 +686,7 @@ for x in scanlist: continue try: line = 1 - for l in codecs.open(y, "r", "utf8"): + for l in codecs.open(checkdir+"/"+y, "r", "utf8"): line +=1 except UnicodeDecodeError, ue: stats["file.UTF8"] += 1 |