Change in otopi[master]: core: reorder unicode str() construction

Alon Bar-Lev alonbl at redhat.com
Thu Sep 10 10:30:57 UTC 2015


Alon Bar-Lev has submitted this change and it was merged.

Change subject: core: reorder unicode str() construction
......................................................................


core: reorder unicode str() construction

move __repr__ detection to lower priority as object contain this by
default and do not call to __str__ for some reason.

this cause objects that only override __str__ method to return incorrect
string.

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1255638
Change-Id: I8df43b87801e1b8cfc1269bf89b83dcdf3f0f7ff
Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>
---
M src/otopi/common.py
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Alon Bar-Lev: Verified; Looks good to me, approved; Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/45990
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8df43b87801e1b8cfc1269bf89b83dcdf3f0f7ff
Gerrit-PatchSet: 1
Gerrit-Project: otopi
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list