equal
deleted
inserted
replaced
39 print(_("Publishing service on local network")) |
39 print(_("Publishing service on local network")) |
40 |
40 |
41 sys.stdout.flush() |
41 sys.stdout.flush() |
42 |
42 |
43 def PyroLoop(self, when_ready): |
43 def PyroLoop(self, when_ready): |
44 if self._to_be_published(): self.Publish() |
44 if self._to_be_published(): |
|
45 self.Publish() |
|
46 |
45 while self.continueloop: |
47 while self.continueloop: |
46 Pyro.config.PYRO_MULTITHREADED = 0 |
48 Pyro.config.PYRO_MULTITHREADED = 0 |
47 pyro.initServer() |
49 pyro.initServer() |
48 self.daemon = pyro.Daemon(host=self.ip_addr, port=self.port) |
50 self.daemon = pyro.Daemon(host=self.ip_addr, port=self.port) |
49 |
51 |