summaryrefslogtreecommitdiff
path: root/lib/psycopg1.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/psycopg1.py')
-rw-r--r--lib/psycopg1.py26
1 files changed, 17 insertions, 9 deletions
diff --git a/lib/psycopg1.py b/lib/psycopg1.py
index d539888..2e5aa82 100644
--- a/lib/psycopg1.py
+++ b/lib/psycopg1.py
@@ -8,17 +8,25 @@ old code while porting to psycopg 2. Import it as follows::
"""
# psycopg/psycopg1.py - psycopg 1.1.x compatibility module
#
-# Copyright (C) 2003-2004 Federico Di Gregorio <fog@debian.org>
+# Copyright (C) 2003-2010 Federico Di Gregorio <fog@debian.org>
#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by the
-# Free Software Foundation; either version 2, or (at your option) any later
-# version.
+# psycopg2 is free software: you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTIBILITY
-# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-# for more details.
+# In addition, as a special exception, the copyright holders give
+# permission to link this program with the OpenSSL library (or with
+# modified versions of OpenSSL that use the same license as OpenSSL),
+# and distribute linked combinations including the two.
+#
+# You must obey the GNU Lesser General Public License in all respects for
+# all of the code used other than OpenSSL.
+#
+# psycopg2 is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+# License for more details.
import _psycopg as _2psycopg
from psycopg2.extensions import cursor as _2cursor