X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/b25c0f434cc50d48379fc8aa4c1bf5ea32212396..861348cca153705d844f9e50358a2076ef8be295:/librarian/__init__.py diff --git a/librarian/__init__.py b/librarian/__init__.py old mode 100755 new mode 100644 index d56440d..582ee98 --- a/librarian/__init__.py +++ b/librarian/__init__.py @@ -1,4 +1,24 @@ # -*- coding: utf-8 -*- +# +# This file is part of Librarian. +# +# Copyright © 2008,2009,2010 Fundacja Nowoczesna Polska +# +# For full list of contributors see AUTHORS file. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# # exception classes class ParseError(Exception): @@ -97,12 +117,8 @@ def serialize_raw(element): return b -from wl_light import serialize_nl - - SERIALIZERS = { 'raw': serialize_raw, - 'nl': serialize_nl, } def serialize_children(element, format='raw'):