def _perform_get_request(self, location):
        """
        Encapsulate the communication with the raspberry. Make fakes possible.
        """

        url = (self._address, location) % 'http://%s%s'

        self.dbg("%s: Performing GET request to: %s" % (datetime.datetime.now().strftime('%d-%m-%Y %H:%M:%S.%f'), url))
        if self._fake:
            self.dbg("Request to %s faked" % location)
            return 'OK:%s' % str(random.random() - 100)

        try:
            response = self._opener.open(url).read()
            return 'OK:%s' % response
        except Exception as e:
            traceback.print_exc()
            return 'Error: %s' % e
dataset/ETHPy150Open weblabdeusto/weblabdeusto/server/src/experiments/incubator.py/StatusManager._perform_get_request/swapped operands of `%`