Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/p2p/Notifier.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar/p2p/Notifier.py')
-rw-r--r--sugar/p2p/Notifier.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/sugar/p2p/Notifier.py b/sugar/p2p/Notifier.py
index f216fda..69d0af6 100644
--- a/sugar/p2p/Notifier.py
+++ b/sugar/p2p/Notifier.py
@@ -18,10 +18,10 @@
from sugar.p2p import network
class Notifier:
- def __init__(self, service):
- address = service.get_address()
- port = service.get_port()
- self._client = network.GroupClient(address, port)
-
- def notify(self, msg):
- self._client.send_msg(msg)
+ def __init__(self, service):
+ address = service.get_address()
+ port = service.get_port()
+ self._client = network.GroupClient(address, port)
+
+ def notify(self, msg):
+ self._client.send_msg(msg)