Commit Graph

4 Commits

Author SHA1 Message Date
Marek Marczykowski-Górecki
20be8e2417
Make tests python3 compatible 2017-12-21 20:11:11 +01:00
Marek Marczykowski-Górecki
2ac5c03bb3
Update tests 2017-12-21 19:44:46 +01:00
Jean-Philippe Ouellet
349f79bc66
Fix off-by-one error in header length calculation
int(ceil(log10(100))) is one lower than it should be when max widths are
powers of 10. This means providing a value of 100 when the max is 100
produces an unexpected failure.

Was never triggered because imghdrlen args are only hard-coded
constants, but a bug is a bug.
2017-08-11 09:43:41 -04:00
Wojtek Porczyk
2a0bbe1c6f
Package imgconverter as separate Python module
This is partly because qubes/__init__.py conflicted with core3.
It is also a good practice.
2017-04-08 13:58:32 +02:00