Loading examples/ring.py +6 −1 Original line number Diff line number Diff line Loading @@ -147,7 +147,12 @@ def main(): logging.info('MAKING CONNECTION') # open socket skt = None while skt == None: skt = pakbus.open_socket(host, port, timeout) if skt == None: self.log.error("Failed to open socket, retry") #if (len(pakbus_ids) != len(metric_ids)): #logging.error("'pakbus_ids' and 'metric_ids' need to have the same number of elements") Loading Loading
examples/ring.py +6 −1 Original line number Diff line number Diff line Loading @@ -147,7 +147,12 @@ def main(): logging.info('MAKING CONNECTION') # open socket skt = None while skt == None: skt = pakbus.open_socket(host, port, timeout) if skt == None: self.log.error("Failed to open socket, retry") #if (len(pakbus_ids) != len(metric_ids)): #logging.error("'pakbus_ids' and 'metric_ids' need to have the same number of elements") Loading