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