Fix TypeError when outputting incoherent-version-dependency-on messages (#192).

git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1815 9bc8b190-ac0f-0410-8968-dc7d1f502856
This commit is contained in:
Ville Skyttä 2010-11-19 17:15:38 +00:00
parent ff8b91244b
commit 548e3c4c45
1 changed files with 2 additions and 2 deletions

View File

@ -644,8 +644,8 @@ class TagsCheck(AbstractCheck.AbstractCheck):
printWarning(pkg,
'incoherent-version-dependency-on',
base_or_libs,
Pkg.versionToString(dep[2][0],
dep[2][1], None),
Pkg.versionToString((dep[2][0],
dep[2][1], None)),
sexp)
res = devel_number_regex.search(name)
if not res: