Skip to content

Commit 000c09e

Browse files
author
Richard Jones
committed
update for latest version of psycopg2 (patch-ish [SF#429391])
1 parent fd8be59 commit 000c09e

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

CHANGES.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ Feature:
1212
- include the popcal in Date field editing and search fields by default
1313
- @required in forms may now specify properties of linked items (sf patch
1414
1507093)
15+
- update for latest version of pysqlite (sf bug 1487098; patch 1534227)
16+
- update for latest version of psycopg2 (sf patch 1429391)
17+
1518

1619
Fixed:
1720
- Verbose option for import and export (sf bug 1505645)
1821
- -c option for roundup-mailgw won't accept parameter (sf bug 1505649)
1922
- '?' in rfc2822-encoded header isn't quoted (sf bug 1505663)
2023
- fix error message in form parser
21-
- update for latest version of pysqlite (sf bug 1487098; patch 1534227)
2224
- updated ZRoundup for Zope 2.9 (sf patch 1511734)
2325
- fix timelog example in customisation doc to mention permissions
2426
- nicer listing of Superseder links (sf non-patch 1497767)

roundup/backends/back_postgresql.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#$Id: back_postgresql.py,v 1.31 2006-01-20 02:27:12 richard Exp $
1+
#$Id: back_postgresql.py,v 1.32 2006-08-11 00:44:00 richard Exp $
22
#
33
# Copyright (c) 2003 Martynas Sklyzmantas, Andrey Lebedev <[email protected]>
44
#
@@ -10,7 +10,10 @@
1010
__docformat__ = 'restructuredtext'
1111

1212
import os, shutil, popen2, time
13-
import psycopg
13+
try:
14+
import psycopg
15+
except:
16+
import psycopg2 as psycopg
1417
import logging
1518

1619
from roundup import hyperdb, date

0 commit comments

Comments
 (0)