From 08936baaec5ab3cf50445513d9f5c92f9b74fc07 Mon Sep 17 00:00:00 2001 From: Jason Stubbs Date: Tue, 4 Oct 2005 16:01:56 +0000 Subject: [PATCH] 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 --- bin/repoman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2