Closed
Bug 1112649
Opened 10 years ago
Closed 10 years ago
Treeherder exceptions don't always print out properly on console
Categories
(Tree Management :: Treeherder, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wlach, Assigned: wlach)
Details
Attachments
(1 file)
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
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8537926 -
Flags: review?(mdoglio)
Updated•10 years ago
|
Attachment #8537926 -
Flags: review?(mdoglio) → review+
Comment 2•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/treeherder-service https://github.com/mozilla/treeherder-service/commit/4b45b4a5acd6a8d404b1af8b1665201ef7f394a7 Bug 1112649 - Fix printing out exceptions on console https://github.com/mozilla/treeherder-service/commit/ae5d05fe027d7cbc0c202ff8c6a2b14faacdebd2 Merge pull request #301 from wlach/1112649 Bug 1112649 - Fix printing out exceptions on console
Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Component: Treeherder → Treeherder: Docs & Development
Updated•2 years ago
|
Component: Treeherder: Docs & Development → TreeHerder
You need to log in
before you can comment on or make changes to this bug.
Description
•