heat.common.i18n module

heat.common.i18n.repr_wrapper(klass)[source]

A decorator that defines __repr__ method under Python 2.

Under Python 2 it will encode repr return value to str type. Under Python 3 it does nothing.