Lines Matching refs:comp
30 comp = url.split('|')
31 if len(comp) != 2 or comp[0][-1] not in string.ascii_letters:
34 drive = comp[0][-1].upper()
35 components = comp[1].split('/')
37 for comp in components:
38 if comp:
39 path = path + '\\' + urllib.parse.unquote(comp)
62 comp = p.split(':')
63 if len(comp) != 2 or len(comp[0]) > 1:
67 drive = urllib.parse.quote(comp[0].upper())
68 components = comp[1].split('\\')
70 for comp in components:
71 if comp:
72 path = path + '/' + urllib.parse.quote(comp)