equal
deleted
inserted
replaced
469 print "Pyro object's uri :",uri |
469 print "Pyro object's uri :",uri |
470 print "Current working directory :",self.workdir |
470 print "Current working directory :",self.workdir |
471 |
471 |
472 # Configure and publish service |
472 # Configure and publish service |
473 # Not publish service if localhost in address params |
473 # Not publish service if localhost in address params |
474 if self.servicename is not None and self.ip_addr != "localhost" and self.ip_addr != "127.0.0.1": |
474 if (self.servicename is not None and |
|
475 self.ip_addr is not None and |
|
476 self.ip_addr != "localhost" and |
|
477 self.ip_addr != "127.0.0.1"): |
475 print "Publishing service on local network" |
478 print "Publishing service on local network" |
476 self.servicepublisher = ServicePublisher.ServicePublisher() |
479 self.servicepublisher = ServicePublisher.ServicePublisher() |
477 self.servicepublisher.RegisterService(self.servicename, self.ip_addr, self.port) |
480 self.servicepublisher.RegisterService(self.servicename, self.ip_addr, self.port) |
478 |
481 |
479 if self.autostart: |
482 if self.autostart: |