From 85d50d56fd111100e612e0dbe05a1a852e957de4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 13 May 2007 20:27:30 +0000 Subject: [PATCH] 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 --- SpecCheck.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SpecCheck.py b/SpecCheck.py index e97138d9..71dca2a8 100644 --- a/SpecCheck.py +++ b/SpecCheck.py @@ -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