From: Jason Stubbs Date: Tue, 4 Oct 2005 16:01:56 +0000 (-0000) Subject: Add path to utf-8 checks so that repoman doesn't break outside of the package dir X-Git-Tag: v2.0.53_rc4_2111~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=08936baaec5ab3cf50445513d9f5c92f9b74fc07;p=portage.git 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 --- 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