Mercurial > libervia-pubsub
comparison sat_pubsub/delegation.py @ 312:5d7c3787672e
fixed copyright put in docstring instead of comments
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 03 Jan 2016 18:29:40 +0100 |
parents | e6a9a3c93314 |
children | 54d90c73b8b5 |
comparison
equal
deleted
inserted
replaced
311:a776544d84e5 | 312:5d7c3787672e |
---|---|
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 #-*- coding: utf-8 -*- | 2 #-*- coding: utf-8 -*- |
3 # | 3 # |
4 """ | 4 # Copyright (c) 2015 Jérôme Poisson |
5 Copyright (c) 2015 Jérôme Poisson | 5 |
6 | 6 |
7 | 7 # This program is free software: you can redistribute it and/or modify |
8 This program is free software: you can redistribute it and/or modify | 8 # it under the terms of the GNU Affero General Public License as published by |
9 it under the terms of the GNU Affero General Public License as published by | 9 # the Free Software Foundation, either version 3 of the License, or |
10 the Free Software Foundation, either version 3 of the License, or | 10 # (at your option) any later version. |
11 (at your option) any later version. | 11 |
12 | 12 # This program is distributed in the hope that it will be useful, |
13 This program is distributed in the hope that it will be useful, | 13 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 # GNU Affero General Public License for more details. |
16 GNU Affero General Public License for more details. | 16 |
17 | 17 # You should have received a copy of the GNU Affero General Public License |
18 You should have received a copy of the GNU Affero General Public License | 18 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 |
20 | 20 # --- |
21 --- | 21 |
22 | 22 # This module implements XEP-0355 (Namespace delegation) to use SàT Pubsub as PEP service |
23 This module implements XEP-0355 (Namespace delegation) to use SàT Pubsub as PEP service | |
24 """ | |
25 | 23 |
26 from wokkel.subprotocols import XMPPHandler | 24 from wokkel.subprotocols import XMPPHandler |
27 from wokkel import pubsub | 25 from wokkel import pubsub |
28 from wokkel import data_form | 26 from wokkel import data_form |
29 from wokkel import disco, iwokkel | 27 from wokkel import disco, iwokkel |