def convert_url(self, matchobj):
        url = matchobj.group(1)
        url = url.strip(' \'"')
        if url.startswith(('http://', 'https://', '/', 'data:')):
            return "url('%s')" % url
        return "url('%s')" % urlparse.urljoin(self.source_dir, url)
dataset/ETHPy150Open andreyfedoseev/django-less/less/utils.py/URLConverter.convert_url/original