def get_observations_by_location(self, location_id):
        url = '{0}{1}/{2}?res=hourly&key={3}'.format(
            BASE_METOFFICE_URL,
            self.OBSERVATIONS_FRAGMENT_URL,
            location_id,
            settings.API_KEYS['metoffice']
        )
        logger.debug(url % 'MetOffice: %s')
        content = urlopen(url).read()
        return self.scrape_xml(content)
dataset/ETHPy150Open mollyproject/mollyproject/molly/apps/weather/providers/metoffice.py/ApiWrapper.get_observations_by_location/swapped operands of `%`