[Sugar-devel] [PATCH] Don't feed None values to os.path.join
Raul Gutierrez Segales
raul.gutierrez.segales at collabora.co.uk
Sat Jul 23 13:25:07 EDT 2011
Playing with jhbuild I found out that setting wrong values to the
LANG/LC_* variables might prevent Sugar activities from starting.
Arguably, this is a very rare case and more likely to be a problem for
developers (if for anyone). Gtk for once copes with this defaulting to
the C locale. The attached patch against sugar-toolkit makes sure we
deal with None being returned locate.getdefaultlocale() and avoid
passing it to os.join.path().
To reproduce the problem:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1321 bytes
Desc: not available
More information about the Sugar-devel