Lines Matching refs:comp
25 comp = url.split('|')
26 if len(comp) != 2 or comp[0][-1] not in string.ascii_letters:
29 drive = comp[0][-1].upper()
31 components = comp[1].split('/')
32 for comp in components:
33 if comp:
34 path = path + '\\' + urllib.unquote(comp)
57 comp = p.split(':')
58 if len(comp) != 2 or len(comp[0]) > 1:
62 drive = urllib.quote(comp[0].upper())
63 components = comp[1].split('\\')
65 for comp in components:
66 if comp:
67 path = path + '/' + urllib.quote(comp)