Bug #1848
here the lintian4python complain about python-fabio
100%
Description
Hello jerome
here the error reported by lintian4python.
w: python-fabio: inconsistent-use-of-tabs-and-spaces-in-indentation usr/share/pyshared/fabio/OXDimage.py:248
e: python-fabio: string-formatting-error usr/share/pyshared/fabio/brukerimage.py:343: not all arguments converted during string formatting
e: python-fabio: pyflakes-undefined-name usr/share/pyshared/fabio/brukerimage.py:238: Except
e: python-fabio: pyflakes-undefined-name usr/share/pyshared/fabio/brukerimage.py:268: Except
Except -> Exception (but a more specific exception should be better)
e: python-fabio: pyflakes-undefined-name usr/share/pyshared/fabio/fabioutils.py:493: numpy
e: python-fabio: pyflakes-undefined-name usr/share/pyshared/fabio/fabioutils.py:493: numpy
the numpy import is missing
e: python-fabio: pyflakes-undefined-name usr/share/pyshared/fabio/pnmimage.py:104: self
e: python-fabio: pyflakes-undefined-name usr/share/pyshared/fabio/pnmimage.py:104: self
e: python-fabio: pyflakes-undefined-name usr/share/pyshared/fabio/pnmimage.py:121: self
e: python-fabio: pyflakes-undefined-name usr/share/pyshared/fabio/pnmimage.py:121: self
e: python-fabio: pyflakes-undefined-name usr/share/pyshared/fabio/pnmimage.py:134: self
e: python-fabio: pyflakes-undefined-name usr/share/pyshared/fabio/pnmimage.py:134: self
here static method are using self. This is bad. I let you decide own to solve this problem.
I do not know why the method are static.
cheers
Fred
History
#1 Updated by kieffer, jerome about 9 years ago
- % Done changed from 0 to 100
FIxed upstream ... af16039796bb660053788b565050a10bb94f2897