Mercurial > libervia-backend
comparison src/bridge/bridge.py @ 595:1f160467f5de
Fix pep8 support in src/bridge.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 18 Jan 2013 17:55:35 +0100 |
parents | 952322b1d490 |
children | 84a6e83157c2 |
comparison
equal
deleted
inserted
replaced
594:e629371a28d3 | 595:1f160467f5de |
---|---|
19 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/>. |
20 """ | 20 """ |
21 | 21 |
22 from logging import debug, info, error | 22 from logging import debug, info, error |
23 | 23 |
24 | |
24 class Bridge(object): | 25 class Bridge(object): |
25 def __init__(self): | 26 def __init__(self): |
26 info ("Bridge initialization") | 27 info("Bridge initialization") |
27 | 28 |
28 ##signals | 29 ##signals |
29 def newContact(self, contact): | 30 def newContact(self, contact): |
30 raise NotImplementedError | 31 raise NotImplementedError |
31 | 32 |
35 def presenceUpdate(self, type, jid, show, status, priority): | 36 def presenceUpdate(self, type, jid, show, status, priority): |
36 raise NotImplementedError | 37 raise NotImplementedError |
37 | 38 |
38 def paramUpdate(self, name, value): | 39 def paramUpdate(self, name, value): |
39 raise NotImplementedError | 40 raise NotImplementedError |
40 | |
41 | 41 |
42 ##methods | 42 ##methods |
43 def connect(self): | 43 def connect(self): |
44 raise NotImplementedError | 44 raise NotImplementedError |
45 | 45 |