annoying trivial error in gnome-sudoku

gnome-sudoku doesn't work out of the box. There is a trivial error in the file
Code:
/usr/local/lib/python2.6/site-packages/gnome_sudoku/defaults.py
change line 33 from
Code:
locale.bind_textdomain_codeset(DOMAIN, "UTF-8") # See Bug 608425
to
Code:
gettext.bind_textdomain_codeset(DOMAIN, "UTF-8") # See Bug 608425
The bind_textdomain_codeset attribute is not part of locale in python26 but of gettext. I don't know if it was in older versions of python.
 
File a PR so the maintainer can have a look. It may need patching upstream.
 
Doesn't need patching upstream. The file defaults.py has been patched for freebsd, apparently to fix a bug that doesn't exist anymore.

How would one go about submitting a PR?
 
Back
Top