Merge branch 'fix-py3' into 'master'

Use log.warning instead of print

See merge request !296

(cherry picked from commit f9abca82)

6842232c Use log.warning instead of print
49e3a664 Fixed formatting
2 jobs for cherry-pick-f9abca82 in 26 seconds