X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/b25c0f434cc50d48379fc8aa4c1bf5ea32212396..e82ceed3d3d72dc75697449285a67e0a42a9cc56:/librarian/__init__.py diff --git a/librarian/__init__.py b/librarian/__init__.py old mode 100755 new mode 100644 index d56440d..10c3766 --- a/librarian/__init__.py +++ b/librarian/__init__.py @@ -1,6 +1,8 @@ # -*- coding: utf-8 -*- -# exception classes - +# +# This file is part of Librarian, licensed under GNU Affero GPLv3 or later. +# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. +# class ParseError(Exception): def __init__(self, cause, message=None): @@ -97,12 +99,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'):