Fix fallout from previous change.
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1345 9bc8b190-ac0f-0410-8968-dc7d1f502856
This commit is contained in:
parent
522e85ebda
commit
3887698b57
|
@ -74,7 +74,7 @@ class InitScriptCheck(AbstractCheck.AbstractCheck):
|
|||
# check common error in file content
|
||||
content = None
|
||||
try:
|
||||
content = Pkg.readlines(pkg, pkg.dirName() + '/' + f)
|
||||
content = Pkg.readlines(pkg.dirName() + '/' + f)
|
||||
except Exception, e:
|
||||
printWarning(pkg, 'read-error', e)
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue