summaryrefslogtreecommitdiff
path: root/ureports
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2010-04-28 08:59:40 +0200
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2010-04-28 08:59:40 +0200
commit9205d8cf43ef7191dcbed9bb7cab4e85a1c4b8ba (patch)
tree6ea668376851b24c45503eceae5cadff67d52d94 /ureports
parentf7a76d43651a83f863de5a0492261192fafc637a (diff)
downloadlogilab-common-9205d8cf43ef7191dcbed9bb7cab4e85a1c4b8ba.tar.gz
propre licensing information (LGPL-2.1). Hope I get it right this time.
Diffstat (limited to 'ureports')
-rw-r--r--ureports/__init__.py28
-rw-r--r--ureports/docbook_writer.py31
-rw-r--r--ureports/html_writer.py31
-rw-r--r--ureports/nodes.py28
-rw-r--r--ureports/text_writer.py31
5 files changed, 88 insertions, 61 deletions
diff --git a/ureports/__init__.py b/ureports/__init__.py
index dc3cd35..be0abd1 100644
--- a/ureports/__init__.py
+++ b/ureports/__init__.py
@@ -1,18 +1,24 @@
+# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
+#
+# This file is part of logilab-common.
+#
+# logilab-common 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 2.1 of the License, or (at your option) any
+# later version.
+#
+# logilab-common 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.
+#
+# You should have received a copy of the GNU Lesser General Public License along
+# with Foobar. If not, see <http://www.gnu.org/licenses/>.
"""Universal report objects and some formatting drivers.
A way to create simple reports using python objects, primarily designed to be
formatted as text and html.
-
-:copyright:
- 2004-2008 `LOGILAB S.A. <http://www.logilab.fr>`_ (Paris, FRANCE),
- all rights reserved.
-
-:contact:
- http://www.logilab.org/project/logilab-common --
- mailto:python-projects@logilab.org
-
-:license:
- `Lesser General Public License version 2`_
"""
from __future__ import generators
__docformat__ = "restructuredtext en"
diff --git a/ureports/docbook_writer.py b/ureports/docbook_writer.py
index efd0350..ba8c897 100644
--- a/ureports/docbook_writer.py
+++ b/ureports/docbook_writer.py
@@ -1,16 +1,21 @@
-"""HTML formatting drivers for ureports.
-
-:copyright:
- 2004-2008 `LOGILAB S.A. <http://www.logilab.fr>`_ (Paris, FRANCE),
- all rights reserved.
-
-:contact:
- http://www.logilab.org/project/logilab-common --
- mailto:python-projects@logilab.org
-
-:license:
- `General Public License version 2`
-"""
+# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
+#
+# This file is part of logilab-common.
+#
+# logilab-common 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 2.1 of the License, or (at your option) any
+# later version.
+#
+# logilab-common 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.
+#
+# You should have received a copy of the GNU Lesser General Public License along
+# with Foobar. If not, see <http://www.gnu.org/licenses/>.
+"""HTML formatting drivers for ureports"""
from __future__ import generators
__docformat__ = "restructuredtext en"
diff --git a/ureports/html_writer.py b/ureports/html_writer.py
index 0fb80e6..b30ef48 100644
--- a/ureports/html_writer.py
+++ b/ureports/html_writer.py
@@ -1,16 +1,21 @@
-"""HTML formatting drivers for ureports.
-
-:copyright:
- 2004-2008 `LOGILAB S.A. <http://www.logilab.fr>`_ (Paris, FRANCE),
- all rights reserved.
-
-:contact:
- http://www.logilab.org/project/logilab-common --
- mailto:python-projects@logilab.org
-
-:license:
- `Lesser General Public License version 2`
-"""
+# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
+#
+# This file is part of logilab-common.
+#
+# logilab-common 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 2.1 of the License, or (at your option) any
+# later version.
+#
+# logilab-common 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.
+#
+# You should have received a copy of the GNU Lesser General Public License along
+# with Foobar. If not, see <http://www.gnu.org/licenses/>.
+"""HTML formatting drivers for ureports"""
__docformat__ = "restructuredtext en"
from cgi import escape
diff --git a/ureports/nodes.py b/ureports/nodes.py
index c5e7acd..ef6c462 100644
--- a/ureports/nodes.py
+++ b/ureports/nodes.py
@@ -1,17 +1,23 @@
+# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
+#
+# This file is part of logilab-common.
+#
+# logilab-common 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 2.1 of the License, or (at your option) any
+# later version.
+#
+# logilab-common 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.
+#
+# You should have received a copy of the GNU Lesser General Public License along
+# with Foobar. If not, see <http://www.gnu.org/licenses/>.
"""Micro reports objects.
A micro report is a tree of layout and content objects.
-
-:copyright:
- 2004-2008 `LOGILAB S.A. <http://www.logilab.fr>`_ (Paris, FRANCE),
- all rights reserved.
-
-:contact:
- http://www.logilab.org/project/logilab-common --
- mailto:python-projects@logilab.org
-
-:license:
- `General Public License version 2`
"""
__docformat__ = "restructuredtext en"
diff --git a/ureports/text_writer.py b/ureports/text_writer.py
index bd61811..6accd38 100644
--- a/ureports/text_writer.py
+++ b/ureports/text_writer.py
@@ -1,16 +1,21 @@
-"""Text formatting drivers for ureports.
-
-:copyright:
- 2004-2008 `LOGILAB S.A. <http://www.logilab.fr>`_ (Paris, FRANCE),
- all rights reserved.
-
-:contact:
- http://www.logilab.org/project/logilab-common --
- mailto:python-projects@logilab.org
-
-:license:
- `Lesser General Public License version 2`_
-"""
+# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
+# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
+#
+# This file is part of logilab-common.
+#
+# logilab-common 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 2.1 of the License, or (at your option) any
+# later version.
+#
+# logilab-common 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.
+#
+# You should have received a copy of the GNU Lesser General Public License along
+# with Foobar. If not, see <http://www.gnu.org/licenses/>.
+"""Text formatting drivers for ureports"""
__docformat__ = "restructuredtext en"
from logilab.common.textutils import linesep