summaryrefslogtreecommitdiff
path: root/lib/errorcodes.py
diff options
context:
space:
mode:
authorFederico Di Gregorio <fog@initd.org>2010-02-14 01:19:17 +0100
committerFederico Di Gregorio <fog@initd.org>2010-02-14 01:19:17 +0100
commit4b58fc640e5f7639345d0f842645c1bbe2c13517 (patch)
tree5caae6e3e2737228a7f0a1707fe8055335ef1f23 /lib/errorcodes.py
parent00805633b2755da742bff02a25a7fbbbcde4e897 (diff)
downloadpsycopg2-4b58fc640e5f7639345d0f842645c1bbe2c13517.tar.gz
License change for lib/errorcodes.py
You hereby have my blessing to go ahead and license all my contributions to the psycopg2 project, including lib/errorcodes.py to LGPL3(+). -- Johan Dahlin
Diffstat (limited to 'lib/errorcodes.py')
-rw-r--r--lib/errorcodes.py26
1 files changed, 17 insertions, 9 deletions
diff --git a/lib/errorcodes.py b/lib/errorcodes.py
index 8c69ba1..2f9c7aa 100644
--- a/lib/errorcodes.py
+++ b/lib/errorcodes.py
@@ -4,17 +4,25 @@ This module contains symbolic names for all PostgreSQL error codes.
"""
# psycopg2/errorcodes.py - PostgreSQL error codes
#
-# Copyright (C) 2006 Johan Dahlin <jdahlin@async.com.br>
+# Copyright (C) 2006-2010 Johan Dahlin <jdahlin@async.com.br>
#
-# 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.
#
# Based on:
#