Skip to content

Commit 8688427

Browse files
author
Richard Jones
committed
fix error detection for non-EN locales of postgres [SF#1592249]
1 parent 2a8e65e commit 8688427

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Fixed:
1212
supported)
1313
- roundup-server called setuid when run by non-root user
1414
- fix sort/group direction checkbox in issue.index.html (sf bug 1593025)
15+
- fix error detection for non-EN locales of postgres (sf bug 1592249)
1516

1617

1718
2006-10-07 1.2.1

doc/index.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ Terrel Shumway,
153153
Emil Sit,
154154
Alexander Smishlajev,
155155
Nathaniel Smith,
156+
Leonardo Soto,
156157
Maciej Starzyk,
157158
Mitchell Surface,
158159
Jon C. Thomason

roundup/backends/back_postgresql.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#$Id: back_postgresql.py,v 1.36 2006-10-03 23:28:51 richard Exp $
1+
#$Id: back_postgresql.py,v 1.37 2006-11-09 00:55:33 richard Exp $
22
#
33
# Copyright (c) 2003 Martynas Sklyzmantas, Andrey Lebedev <[email protected]>
44
#
@@ -131,7 +131,7 @@ def open_connection(self):
131131
try:
132132
self.load_dbschema()
133133
except psycopg.ProgrammingError, message:
134-
if str(message).find('"schema" does not exist') == -1:
134+
if str(message).find('schema') == -1:
135135
raise
136136
self.rollback()
137137
self.init_dbschema()

0 commit comments

Comments
 (0)