runtime/PyroServer.py
changeset 3843 832bcf1b5b60
parent 3808 3e219f00151a
equal deleted inserted replaced
3842:3922024076b3 3843:832bcf1b5b60
    71         print(_("Pyro port :"), self.port)
    71         print(_("Pyro port :"), self.port)
    72 
    72 
    73         if self._to_be_published():
    73         if self._to_be_published():
    74             print(_("Publishing service on local network"))
    74             print(_("Publishing service on local network"))
    75 
    75 
    76         sys.stdout.flush()
    76         if sys.stdout:
       
    77             sys.stdout.flush()
    77 
    78 
    78     def PyroLoop(self, when_ready):
    79     def PyroLoop(self, when_ready):
    79         if self._to_be_published():
    80         if self._to_be_published():
    80             self.Publish()
    81             self.Publish()
    81 
    82