py3. Fix get_colors.

Merged Andrey Vertiprahov requested to merge py3-colors into master

py3. Fix get_colors.

Merge request reports