From f4fee20b3b70805a8dd6c765636adb10fdd8a0ba Mon Sep 17 00:00:00 2001 From: Federico Di Gregorio Date: Sat, 19 Nov 2005 14:20:41 +0000 Subject: [PATCH] In extensions.py: COMMITED -> COMMITTED. (Closes: #73) --- ChangeLog | 1 + lib/extensions.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index f3152dfe..e59fe2ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2005-11-19 Federico Di Gregorio + * lib/extensions.py: COMMITED -> COMMITTED. (Closes: #73) * doc/extensions.rst: included Daniele's work after minor cosmetic changes like using the new constants instead of numbers for transaction isolation levels. diff --git a/lib/extensions.py b/lib/extensions.py index 239d7fa4..258a4c84 100644 --- a/lib/extensions.py +++ b/lib/extensions.py @@ -42,12 +42,12 @@ from _psycopg import ISQLQuote """Isolation level values.""" ISOLATION_LEVEL_AUTOCOMMIT = 0 -ISOLATION_LEVEL_READ_COMMITED = 1 +ISOLATION_LEVEL_READ_COMMITTED = 1 ISOLATION_LEVEL_SERIALIZABLE = 2 -# Postgresql maps the the other standard values to already defined levels +# PostgreSQL maps the the other standard values to already defined levels ISOLATION_LEVEL_REPEATABLE_READ = ISOLATION_LEVEL_SERIALIZABLE -ISOLATION_LEVEL_READ_UNCOMMITTED = ISOLATION_LEVEL_READ_COMMITED +ISOLATION_LEVEL_READ_UNCOMMITTED = ISOLATION_LEVEL_READ_COMMITTED def register_adapter(typ, callable):