def strip_ssh_from_git_uri(uri):
    'Return git+ssh:// formatted URI to git+git@ format'
    if isinstance(uri, six.string_types):
        uri = uri.replace('git+ssh://', 'git+')
    return uri
Return git+ssh:// formatted URI to git+git@ format
def strip_ssh_from_git_uri(uri):
    
    if isinstance(uri, six.string_types):
        uri = uri.replace('git+ssh://', 'git+')
    return uri