Update licence header in .py files
authorThierry Florac <tflorac@ulthar.net>
Sun, 04 Apr 2010 01:37:52 +0200
changeset 48 d9a45c366c6c
parent 47 ad9c8c79b9d0
child 49 035aa2957098
Update licence header in .py files
.settings/org.eclipse.core.resources.prefs
setup.py
ztfy/utils/date.py
ztfy/utils/security.py
ztfy/utils/tests/test_utilsdocs.py
ztfy/utils/tests/test_utilsdocstrings.py
--- a/.settings/org.eclipse.core.resources.prefs	Sun Apr 04 01:28:51 2010 +0200
+++ b/.settings/org.eclipse.core.resources.prefs	Sun Apr 04 01:37:52 2010 +0200
@@ -1,15 +1,19 @@
-#Wed Mar 17 00:02:25 CET 2010
+#Sun Apr 04 01:36:34 CEST 2010
 eclipse.preferences.version=1
 encoding//ztfy/utils/__init__.py=utf-8
 encoding//ztfy/utils/catalog/__init__.py=utf-8
 encoding//ztfy/utils/catalog/index.py=utf-8
+encoding//ztfy/utils/date.py=utf-8
 encoding//ztfy/utils/file.py=utf-8
 encoding//ztfy/utils/html.py=utf-8
 encoding//ztfy/utils/protocol/xmlrpc.py=utf-8
 encoding//ztfy/utils/request.py=utf-8
+encoding//ztfy/utils/security.py=utf-8
 encoding//ztfy/utils/tal/html.py=utf-8
 encoding//ztfy/utils/tal/interfaces.py=utf-8
 encoding//ztfy/utils/tal/text.py=utf-8
+encoding//ztfy/utils/tests/test_utilsdocs.py=utf-8
+encoding//ztfy/utils/tests/test_utilsdocstrings.py=utf-8
 encoding//ztfy/utils/text.py=utf-8
 encoding//ztfy/utils/timezone/__init__.py=utf-8
 encoding//ztfy/utils/timezone/interfaces.py=utf-8
--- a/setup.py	Sun Apr 04 01:28:51 2010 +0200
+++ b/setup.py	Sun Apr 04 01:37:52 2010 +0200
@@ -1,19 +1,18 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2009 'Thierry Florac'
-
-# 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 of the License, or
-# (at your option) any later version.
+### -*- coding: utf-8 -*- ####################################################
+##############################################################################
+#
+# Copyright (c) 2008-2010 Thierry Florac <tflorac AT ulthar.net>
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
 
-# This program 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 General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING. If not, write to the
-# Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 """
 This module contains ztfy.utils package
 """
--- a/ztfy/utils/date.py	Sun Apr 04 01:28:51 2010 +0200
+++ b/ztfy/utils/date.py	Sun Apr 04 01:37:52 2010 +0200
@@ -1,3 +1,4 @@
+### -*- coding: utf-8 -*- ####################################################
 ##############################################################################
 #
 # Copyright (c) 2008 Thierry Florac <tflorac AT ulthar.net>
@@ -39,7 +40,7 @@
     """
     if value is not None:
         value = gmtime(value)
-        return unicode(value.isoformat('T'),'ascii')
+        return unicode(value.isoformat('T'), 'ascii')
     return None
 
 
--- a/ztfy/utils/security.py	Sun Apr 04 01:28:51 2010 +0200
+++ b/ztfy/utils/security.py	Sun Apr 04 01:37:52 2010 +0200
@@ -1,3 +1,4 @@
+### -*- coding: utf-8 -*- ####################################################
 ##############################################################################
 #
 # Copyright (c) 2008 Thierry Florac <tflorac AT ulthar.net>
--- a/ztfy/utils/tests/test_utilsdocs.py	Sun Apr 04 01:28:51 2010 +0200
+++ b/ztfy/utils/tests/test_utilsdocs.py	Sun Apr 04 01:37:52 2010 +0200
@@ -1,19 +1,18 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2008 Thierry Florac
-
-# 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 of the License, or
-# (at your option) any later version.
+### -*- coding: utf-8 -*- ####################################################
+##############################################################################
+#
+# Copyright (c) 2008-2010 Thierry Florac <tflorac AT ulthar.net>
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
 
-# This program 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 General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING. If not, write to the
-# Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 """
 Generic Test case for ztfy.utils doctest
 """
@@ -48,8 +47,8 @@
             os.listdir(doctest_dir) if doc.endswith('.txt')]
 
     for test in docs:
-        suite.append(doctest.DocFileSuite(test, optionflags=flags, 
-                                          globs=globs, setUp=setUp, 
+        suite.append(doctest.DocFileSuite(test, optionflags=flags,
+                                          globs=globs, setUp=setUp,
                                           tearDown=tearDown,
                                           module_relative=False))
 
--- a/ztfy/utils/tests/test_utilsdocstrings.py	Sun Apr 04 01:28:51 2010 +0200
+++ b/ztfy/utils/tests/test_utilsdocstrings.py	Sun Apr 04 01:37:52 2010 +0200
@@ -1,19 +1,18 @@
-# -*- coding: utf-8 -*-
-# Copyright (c) 2008 Thierry Florac
-
-# 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 of the License, or
-# (at your option) any later version.
+### -*- coding: utf-8 -*- ####################################################
+##############################################################################
+#
+# Copyright (c) 2008-2010 Thierry Florac <tflorac AT ulthar.net>
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
 
-# This program 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 General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program; see the file COPYING. If not, write to the
-# Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 """
 Generic Test case for ztfy.utils doc strings
 """