On Freitag, 23. September 2016 10:30:26 CEST Marcus Meissner wrote:
What is broken in this project however is a mismatch between rpmlint and python-magic (from file).
[ 2022s] 0 packages and 0 specfiles checked; 0 errors, 0 warnings. [ 2022s] Traceback (most recent call last): [ 2022s] File "rpmlint.py", line 385, in <module> [ 2022s] File "rpmlint.py", line 161, in main [ 2022s] File "rpmlint.py", line 220, in runChecks [ 2022s] File "TagsCheck.py", line 634, in check [ 2022s] File "Pkg.py", line 605, in files [ 2022s] File "Pkg.py", line 700, in _gatherFilesInfo [ 2022s] File "./magic.py", line 129, in file [ 2022s] TypeError: str() takes at most 1 argument (2 given)
I looked at it, but the bug seems not obvious.
Python2/3 confusion. This patch may help: https://github.com/file/file/commit/73e043d2a986234b187a00ed0c8d1f7bf83df372 https://github.com/file/file/commit/ 73e043d2a986234b187a00ed0c8d1f7bf83df372.patch Kind regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen home: +49 241 53809034 mobile: +49 151 50412019 work: +49 2405 49936-424 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org