##// END OF EJS Templates
Lowercase SQL 'insert' for Turkish locale...
Thomas Kluyver -
Show More
@@ -152,7 +152,11 b' class HistoryManager(Configurable):'
152 conn = self.db
152 conn = self.db
153
153
154 with conn:
154 with conn:
155 cur = conn.execute("""INSERT INTO sessions VALUES (NULL, ?, NULL,
155 # N.B. 'insert into' here is lower case because of a bug in the
156 # sqlite3 module that affects the Turkish locale. This should be
157 # fixed for Python 2.7.3 and 3.2.3, as well as 3.3 onwards.
158 # http://bugs.python.org/issue13099
159 cur = conn.execute("""insert into sessions VALUES (NULL, ?, NULL,
156 NULL, "") """, (datetime.datetime.now(),))
160 NULL, "") """, (datetime.datetime.now(),))
157 self.session_number = cur.lastrowid
161 self.session_number = cur.lastrowid
158
162
General Comments 0
You need to be logged in to leave comments. Login now