@gen.coroutine
    def read_once(self):
        try:
            values = {}
            values['ultrasonic'] = self.board.read_ultrasonic_ranger()
            values['dht'] = self.board.read_dht()
            Tools.log(str(values))
            self.sensor_buffer["temp"].append(int(values['dht'][0]))
            self.sensor_buffer["humidity"].append(int(values['dht'][1]))
            self.sensor_buffer["ultrasonic"].append(values['ultrasonic'])
        except IOError, e:
            Tools.log(str(e) % 'I/O Error reading sensors. Exception: %s',1)
        except Exception, e:
            Tools.log('Error reading sensors: %s' % str(e),1)
            pass

    # Collect the values from the sensors on the board.
dataset/ETHPy150Open awslabs/simplebeerservice/sbsunit/sbs/reader.py/SBSReader.read_once/swapped operands of `%`