def remote_media_url(self, with_ssl=False):
        """
        Returns the base remote media URL. In this case, we can safely make
        some assumptions on the URL string based on bucket names, and having
        public ACL on.
        
        args:
          with_ssl: (bool) If True, return an HTTPS url.
        """
        protocol = 'http' if with_ssl is False else 'https'
        url = (protocol, self.aws_bucket) % (self.aws_bucket_cname and "%s://%s" or "%s://s3.amazonaws.com/%s")
        if self.aws_prefix:
            url = "%s/%s" % (url, self.aws_prefix)
        return url
dataset/ETHPy150Open sunlightlabs/django-mediasync/mediasync/backends/s3.py/Client.remote_media_url/swapped operands of `%`