Lines Matching refs:sep
31 os.path.sep in piece
217 # Use normpath to convert Windows altsep to sep.
228 .strip(os.path.sep)
229 .replace(os.path.sep, "/")
277 package_path = os.path.normpath(package_path).rstrip(os.path.sep)
282 elif package_path[:2] == os.path.curdir + os.path.sep:
303 template_root = os.path.join(pkgdir, package_path).rstrip(os.path.sep)
335 # convert Windows altsep to sep.
376 dirpath = dirpath[offset:].lstrip(os.path.sep)
378 os.path.join(dirpath, name).replace(os.path.sep, "/")
390 self._template_root[len(self._archive) :].lstrip(os.path.sep)
391 + os.path.sep
397 if name.startswith(prefix) and name[-1] != os.path.sep:
398 results.append(name[offset:].replace(os.path.sep, "/"))