Python3.x fixup
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>