Home | History | Annotate | Download | only in python2.7

Lines Matching refs:filemode

311 def filemode(mode):
1668 filemode, comptype = mode.split(":", 1)
1669 filemode = filemode or "r"
1678 return func(name, filemode, fileobj, **kwargs)
1681 filemode, comptype = mode.split("|", 1)
1682 filemode = filemode or "r"
1685 if filemode not in "rw":
1688 t = cls(name, filemode,
1689 _Stream(name, filemode, comptype, fileobj, bufsize),
1922 print filemode(tarinfo.mode),
2053 # Set correct owner, mtime and filemode on directories.