diff -r 078bf153fb8c -r 0f905e027d18 connectors/PYRO/__init__.py --- a/connectors/PYRO/__init__.py Mon Apr 15 00:36:41 2013 +0200 +++ b/connectors/PYRO/__init__.py Wed Apr 17 10:54:17 2013 +0900 @@ -45,6 +45,7 @@ from util.Zeroconf import Zeroconf r = Zeroconf() i=r.getServiceInfo(service_type, location) + if i is None : raise Exception, "'%s' not found"%location ip = str(socket.inet_ntoa(i.getAddress())) port = str(i.getPort()) newlocation = ip+':'+port