Avoid import loop introduced in previous change.
git-svn-id: svn+ssh://rpmlint.zarb.org/home/projects/rpmlint/svn/trunk@1669 9bc8b190-ac0f-0410-8968-dc7d1f502856
This commit is contained in:
parent
a9890b21bc
commit
38097b4659
5
Pkg.py
5
Pkg.py
|
@ -44,8 +44,6 @@ def rlwarn(s):
|
||||||
print >> sys.stderr, s
|
print >> sys.stderr, s
|
||||||
''')
|
''')
|
||||||
|
|
||||||
from Filter import printWarning
|
|
||||||
|
|
||||||
|
|
||||||
# utilities
|
# utilities
|
||||||
|
|
||||||
|
@ -416,7 +414,8 @@ class Pkg:
|
||||||
ret.append(str(lineno))
|
ret.append(str(lineno))
|
||||||
break
|
break
|
||||||
except Exception, e:
|
except Exception, e:
|
||||||
printWarning(self, 'read-error', filename, e)
|
import Filter
|
||||||
|
Filter.printWarning(self, 'read-error', filename, e)
|
||||||
finally:
|
finally:
|
||||||
if in_file:
|
if in_file:
|
||||||
in_file.close()
|
in_file.close()
|
||||||
|
|
Loading…
Reference in New Issue