tree: Increase readability of TreeEnvironment
The TreeEnvironment uses default-dict representation, which uses
__repr__ on items. This is not really human friendly and more
importantly it contains dynamic data (object id) which changes per
execution and we are using environment in fingerprint, which does not
really work well for TreeNodeDebug. This patch replaces the __repr__
with __str__ which improves the readability and avoids the dynamic data.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
Showing
想要评论请 注册 或 登录