Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/n/o/nova-HEAD/nova/api/openstack/common.py   nova(Download)
    """
    parsed_url = urlparse.urlsplit(href)
    url_parts = parsed_url.path.split('/', 2)
 
    # NOTE: this should match vX.X or vX

src/n/o/nova-gce-HEAD/nova/api/openstack/common.py   nova-gce(Download)
    """
    parsed_url = urlparse.urlsplit(href)
    url_parts = parsed_url.path.split('/', 2)
 
    # NOTE: this should match vX.X or vX

src/c/i/cinder-HEAD/cinder/api/common.py   cinder(Download)
    """
    parsed_url = urlparse.urlsplit(href)
    url_parts = parsed_url.path.split('/', 2)
 
    # NOTE: this should match vX.X or vX

src/m/a/manila-HEAD/manila/api/common.py   manila(Download)
    """
    parsed_url = urlparse.urlsplit(href)
    url_parts = parsed_url.path.split('/', 2)
 
    # NOTE: this should match vX.X or vX

src/d/p/dpxdt-HEAD/dpxdt/tools/site_diff.py   dpxdt(Download)
    url_parts = urlparse.urlparse(url)
    path_parts = []
    for part in url_parts.path.split('/'):
        if part == '.':
            continue

src/a/c/activitystreams-unofficial-HEAD/twitter.py   activitystreams-unofficial(Download)
      # includes @foobar.
      parsed = urlparse.urlparse(base_url)
      parts = parsed.path.split('/')
      if len(parts) < 2 or not parts[1]:
        raise ValueError('Could not determine author of in-reply-to URL %s' % base_url)