From 762a4cc0838618e549e0562df96cad361f8cde5a Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Wed, 25 Jul 2012 12:32:04 -0400 Subject: No need to parameterize the exceptions, since Storm does this for us. --- src/mailman/database/postgresql.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/mailman/database/postgresql.py') diff --git a/src/mailman/database/postgresql.py b/src/mailman/database/postgresql.py index 879594459..6362f999c 100644 --- a/src/mailman/database/postgresql.py +++ b/src/mailman/database/postgresql.py @@ -25,8 +25,6 @@ __all__ = [ ] -import psycopg2 - from operator import attrgetter from urlparse import urlsplit, urlunsplit @@ -51,7 +49,6 @@ class PostgreSQLDatabase(StormBaseDatabase): """Database class for PostgreSQL.""" TAG = 'postgres' - Error = psycopg2.ProgrammingError def _database_exists(self, store): """See `BaseDatabase`.""" -- cgit v1.2.3-70-g09d2