2007-10-09 Don Allingham <don@gramps-project.org>
* src/GrampsDb/Makefile.am: update * src/gen/db/Makefile.am: update * src/gen/lib/primaryobj.py: remove MarkupText dependency * src/Makefile.am: remove RelLib * po/POTFILES.in: update svn: r9121
This commit is contained in:
@@ -32,7 +32,7 @@ __revision__ = "$Revision$"
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import time
|
||||
import GrampsLocale
|
||||
import locale
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@@ -50,7 +50,10 @@ from mediabase import MediaBase
|
||||
# Localized constants
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
CODESET = GrampsLocale.codeset
|
||||
try:
|
||||
CODESET = locale.nl_langinfo(locale.CODESET)
|
||||
except:
|
||||
CODESET = locale.getpreferredencoding()
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user