From 9b597425c9e66d1c3ceada5f4e1bb6014f6de2c8 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 14 Mar 2010 19:31:30 -0400 Subject: - name all the "sub" dialect components _, [ticket:1738] --- lib/sqlalchemy/dialects/postgresql/pypostgresql.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/sqlalchemy/dialects/postgresql/pypostgresql.py') diff --git a/lib/sqlalchemy/dialects/postgresql/pypostgresql.py b/lib/sqlalchemy/dialects/postgresql/pypostgresql.py index 87582a6cd..2e7ea201c 100644 --- a/lib/sqlalchemy/dialects/postgresql/pypostgresql.py +++ b/lib/sqlalchemy/dialects/postgresql/pypostgresql.py @@ -24,10 +24,10 @@ class PGNumeric(sqltypes.Numeric): else: return processors.to_float -class PostgreSQL_pypostgresqlExecutionContext(PGExecutionContext): +class PGExecutionContext_pypostgresql(PGExecutionContext): pass -class PostgreSQL_pypostgresql(PGDialect): +class PGDialect_pypostgresql(PGDialect): driver = 'pypostgresql' supports_unicode_statements = True @@ -40,7 +40,7 @@ class PostgreSQL_pypostgresql(PGDialect): supports_sane_rowcount = True supports_sane_multi_rowcount = False - execution_ctx_cls = PostgreSQL_pypostgresqlExecutionContext + execution_ctx_cls = PGExecutionContext_pypostgresql colspecs = util.update_copy( PGDialect.colspecs, { @@ -66,4 +66,4 @@ class PostgreSQL_pypostgresql(PGDialect): def is_disconnect(self, e): return "connection is closed" in str(e) -dialect = PostgreSQL_pypostgresql +dialect = PGDialect_pypostgresql -- cgit v1.2.1