Treeherder exceptions don't always print out properly on console

RESOLVED FIXED

Status

Tree Management
Treeherder: Docs & Development
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: wlach, Assigned: wlach)

Tracking

Details

Attachments

(1 attachment)

Because we only have a __unicode__ representation of some treeherder exceptions, they don't print out properly on the console (you need a __str__ representation for that). It looks like Django has a method called `python_2_unicode_compatible` which should solve this problem and prepare us for Python 3.0 as a bonus:

https://docs.djangoproject.com/en/1.6/topics/python3/#str-and-unicode-methods
Created attachment 8537926 [details] [review]
Fix printing out exceptions on console
Attachment #8537926 - Flags: review?(mdoglio)
Attachment #8537926 - Flags: review?(mdoglio) → review+
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED

Updated

4 years ago
Component: Treeherder → Treeherder: Docs & Development
You need to log in before you can comment on or make changes to this bug.