[GRASS-SVN] r71411 - grass/trunk/lib/python/temporal
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Aug 19 07:24:02 PDT 2017
Author: annakrat
Date: 2017-08-19 07:24:02 -0700 (Sat, 19 Aug 2017)
New Revision: 71411
Modified:
grass/trunk/lib/python/temporal/core.py
Log:
temporal lib: use str not unicode to fix problems with translated messages, see #3392
Modified: grass/trunk/lib/python/temporal/core.py
===================================================================
--- grass/trunk/lib/python/temporal/core.py 2017-08-19 13:48:47 UTC (rev 71410)
+++ grass/trunk/lib/python/temporal/core.py 2017-08-19 14:24:02 UTC (rev 71411)
@@ -1107,6 +1107,7 @@
detect_types=self.dbmi.PARSE_DECLTYPES | self.dbmi.PARSE_COLNAMES)
self.connection.row_factory = self.dbmi.Row
self.connection.isolation_level = None
+ self.connection.text_factory = str
self.cursor = self.connection.cursor()
self.cursor.execute("PRAGMA synchronous = OFF")
self.cursor.execute("PRAGMA journal_mode = MEMORY")
More information about the grass-commit
mailing list