Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#16722 closed Bug (fixed)

import psycopg2.Error breaks psycopg2 backend

Reported by: Ubercore Owned by: anonymous
Component: Database layer (models, ORM) Version: dev
Severity: Release blocker Keywords: psycopg2 Error postgresql import
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The Error class doesn't need to be imported directly. Instead, Database.Error can be used.

Attachments (1)

psycopg2_import_error.diff (939 bytes ) - added by Ubercore 13 years ago.

Download all attachments as: .zip

Change History (7)

by Ubercore, 13 years ago

Attachment: psycopg2_import_error.diff added

comment:1 by Florian Apolloner, 13 years ago

Owner: changed from nobody to anonymous
Status: newassigned

+ a direct import seems to be impossible at all…

comment:2 by Florian Apolloner, 13 years ago

milestone: 1.4

comment:3 by Ubercore, 13 years ago

Keywords: psycopg2 Error postgresql import added

comment:4 by anonymous, 13 years ago

by removing the line 25, the django psycopg2 works again.
Sad to see that the SVN is not working tonight :(

comment:5 by Russell Keith-Magee, 13 years ago

Resolution: fixed
Status: assignedclosed

This has been resolved independently by [16710]

comment:6 by Jacob, 13 years ago

milestone: 1.4

Milestone 1.4 deleted

Note: See TracTickets for help on using tickets.
Back to Top