summaryrefslogtreecommitdiff
path: root/lib/tz.py
diff options
context:
space:
mode:
authorFederico Di Gregorio <fog@initd.org>2010-02-12 23:34:53 +0100
committerFederico Di Gregorio <fog@initd.org>2010-02-12 23:34:53 +0100
commit611606d53294ec68ab61aea9ba9149d3c6da4750 (patch)
tree9fec4c4dd2bf8bc2d7da569a0d644ba392dfaf6e /lib/tz.py
parente5bed4993bb69ef2ad7edcef1e2736f5c2e0c1b6 (diff)
downloadpsycopg2-611606d53294ec68ab61aea9ba9149d3c6da4750.tar.gz
Changes license to LGPL3 + OpenSSL exception on all source files
Diffstat (limited to 'lib/tz.py')
-rw-r--r--lib/tz.py26
1 files changed, 17 insertions, 9 deletions
diff --git a/lib/tz.py b/lib/tz.py
index e521b6d..d905714 100644
--- a/lib/tz.py
+++ b/lib/tz.py
@@ -6,17 +6,25 @@ functions or used to set the .tzinfo_factory attribute in cursors.
"""
# psycopg/tz.py - tzinfo implementation
#
-# 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 datetime
import time