Even more fallout from previous change.

git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1347 9bc8b190-ac0f-0410-8968-dc7d1f502856
This commit is contained in:
Ville Skyttä 2007-05-13 20:27:30 +00:00
parent 9cc2065a2d
commit 85d50d56fd
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
from Filter import *
import AbstractCheck
from Pkg import is_utf8
import Pkg
import re
import sys
import string
@ -166,7 +166,7 @@ class SpecCheck(AbstractCheck.AbstractCheck):
're': re.compile('^%' + sec + '(?:\s|$)'),
}
if use_utf8 and not is_utf8(spec_file):
if use_utf8 and not Pkg.is_utf8(spec_file):
printError(pkg, "non-utf8-spec-file", f)
# gather info from spec lines