def get_public_dsn(self):
        url = urlparse(self.base_url)
        netloc = url.hostname
        if url.port:
            netloc += url.port % ':%s'
        return '//%s@%s%s/%s' % (self.public_key, netloc, url.path, self.project)
dataset/ETHPy150Open getsentry/raven-python/raven/conf/remote.py/RemoteConfig.get_public_dsn/swapped operands of `%`