Mercurial > sat_tmp
comparison sat_tmp/wokkel/__init__.py @ 61:1245269f9aab
wokkel: new data_form module to add support of XML element + new install() function to make patching easier.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 16 Jan 2019 09:17:57 +0100 |
parents | c8cb4e867897 |
children | a564fc84d5d0 |
comparison
equal
deleted
inserted
replaced
60:938c740d31fe | 61:1245269f9aab |
---|---|
1 # -*- coding: utf-8 -*- | |
2 # -*- test-case-name: wokkel.test.test_rsm -*- | |
3 # | |
4 # Series of Wokkel patches used by SàT | |
5 # Copyright (C) 2015-2019 Jérôme Poisson (goffi@goffi.org) | |
6 # Copyright (C) 2015 Adien Cossa (souliane@mailoo.org) | |
7 | |
8 # This program is free software: you can redistribute it and/or modify | |
9 # it under the terms of the GNU Affero General Public License as published by | |
10 # the Free Software Foundation, either version 3 of the License, or | |
11 # (at your option) any later version. | |
12 | |
13 # This program is distributed in the hope that it will be useful, | |
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 # GNU Affero General Public License for more details. | |
17 | |
18 # You should have received a copy of the GNU Affero General Public License | |
19 # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
20 | |
21 | |
22 def install(): | |
23 """Monkey patch Wokkel to have improvments implemented here""" | |
24 import wokkel | |
25 from . import pubsub, rsm, mam, data_form | |
26 wokkel.pubsub = pubsub | |
27 wokkel.rsm = rsm | |
28 wokkel.mam = mam | |
29 data_form.install() |