EmilyDirsh / hotwire-shell

Automatically exported from code.google.com/p/hotwire-shell
Other
0 stars 0 forks source link

locale.getlocale() does not always return a string #175

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If locale is not explicitly set, the locale.getlocale() function can 
return (None, None).  Attempts to use the second element of the tuple as a 
string will fail.  The attached patch takes care of this.

Original issue reported on code.google.com by qu...@sparq.org on 26 Mar 2008 at 8:03

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks, applied!

Committed r1188
    M   hotwire_ui/renderers/unicode.py

Original comment by cgwalt...@gmail.com on 26 Mar 2008 at 11:05