Lines Matching refs:comps
429 comps = path.split("\\")431 while i < len(comps):432 if comps[i] in ('.', ''):433 del comps[i]434 elif comps[i] == '..':435 if i > 0 and comps[i-1] != '..':436 del comps[i-1:i+1]439 del comps[i]445 if not prefix and not comps:446 comps.append(dot)447 return prefix + backslash.join(comps)