Replace str(e) with "%s" % e or unicode(e)

Bug #816077 reported by Jay Pipes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Low
Justin Shepherd

Bug Description

Ed noticed several places where str(e) is used. Since error strings can be localized, it is reasonable to expect non-ASCII characters to appear in them. Either unicode(e) or "%s" % e should be used instead.

Related branches

Changed in glance:
assignee: nobody → Justin Shepherd (jshepher)
status: Triaged → In Progress
Jay Pipes (jaypipes)
Changed in glance:
milestone: none → diablo-4
Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: diablo-4 → 2011.3
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.