Fix running on python3

Merged Dmitry Lukhtionov requested to merge python3_2 into master

Merge request reports