summaryrefslogtreecommitdiff
path: root/ZPsycopgDA/pool.py
diff options
context:
space:
mode:
Diffstat (limited to 'ZPsycopgDA/pool.py')
-rw-r--r--ZPsycopgDA/pool.py30
1 files changed, 14 insertions, 16 deletions
diff --git a/ZPsycopgDA/pool.py b/ZPsycopgDA/pool.py
index 05af0a5..4208325 100644
--- a/ZPsycopgDA/pool.py
+++ b/ZPsycopgDA/pool.py
@@ -1,24 +1,22 @@
# ZPsycopgDA/pool.py - ZPsycopgDA Zope product: connection pooling
#
-# Copyright (C) 2004 Federico Di Gregorio <fog@initd.org>
+# Copyright (C) 2004-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.
#
-# Or, at your option this program (ZPsycopgDA) can be distributed under the
-# Zope Public License (ZPL) Version 1.0, as published on the Zope web site,
-# http://www.zope.org/Resources/ZPL.
-#
-# 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 LICENSE file for details.
+# 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 modules needed by _psycopg to allow tools like py2exe to do
+# their work without bothering about the module dependencies.
-# all the connections are held in a pool of pools, directly accessible by the
-# ZPsycopgDA code in db.py
+# All the connections are held in a pool of pools, directly accessible by the
+# ZPsycopgDA code in db.py.
import threading
import psycopg2.pool