Update stats.py

Py3 print
Update stats.py
Update util.py
cosmetic: whitespace

Conflicts:
	src/paperwork/frontend/multiscan.py

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
ProgressiveList: The third column in the page list model is an integer, not a Python object --> it must be compared to 0, not None
(backport of bbc88b3f4bf642f4e3c758a157c03344c0e17fe9)

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
scripts/stats.py: Display the maximum number of pages found in one document

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
Settings window: Fix support of scanner drivers returning the valid resolution as a tuple instead of an array
(backport of 5df66cd98ee5a7f6c486b2b0afb84bd1a260c3e5)

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
Main window: Fix "no scanner found" popup
(backport of 37752fe98412e0d54b102819899ef93f7d951d9f)

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
popups: fix depreciation warnings
(backport of 6bd73a403630297539400501eb8e807eca2eb925)

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
Frontend: Scans: Make sure the scan area is always as big as it can be
(backport of a3efa17252764dcc92e830620b2cb18a58a1ec29)

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
Frontend: scanner: optimize the maximization of the scan area
(backport of 0411a70f454b24310aa0ee1f45d77922e9caa584)

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
scripts/stat: Fix output

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
Add a script: anonymize.py: Used to trash a document without changing its effect on the indexation

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
Rename anonymize.py into obfuscate.py : it's a better description of what it does

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
obfuscate.py: cosmetic: improve doc

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
obfuscate.py: cosmetic: usage

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
obfuscate.py: cosmetic: clarify the warning(s) in the usage text

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
scripts/obfuscate.py : Make the output safe by using the hash function sha512 to obfuscate every word

Signed-off-by: Jerome Flesch <jflesch@gmail.com>
Main window: Image area: Fix stock icon displaying

Signed-off-by: Jerome Flesch <jflesch@wyplay.com>
When OCR is disabled: Fix scan and page editing

Signed-off-by: Jerome Flesch <jflesch@gmail.com>