diff --git a/gapi/drive_api.py b/gapi/drive_api.py index c363714..ef067ef 100644 --- a/gapi/drive_api.py +++ b/gapi/drive_api.py @@ -20,13 +20,6 @@ def path_translate( def is_folder(element): return element['mimeType'] == 'application/vnd.google-apps.folder' -def split_path_nt(path,rev=False): - s = re.findall(r'?:[a-zA-Z]:\\)|[^/\\\?%\*:\|\"\<\>]+',path) - if rev: - return s[::-1] - else: - return s - def split_path(path,rev=False): s = re.findall(r'(?:^/|[^/\x00]+)',path) if rev: @@ -34,11 +27,6 @@ def split_path(path,rev=False): else: return s -if os.name == 'nt': - local_split_path = split_path_nt -else: - local_split_path = split_path - def without(node,*keys): node_meta = set(node.keys()) nope = set(keys)