68
68
# OR with 0 on those platforms
69
69
O_BINARY = getattr(os, 'O_BINARY', 0)
75
72
def make_readonly(filename):
76
73
"""Make a filename read-only."""
78
75
if not stat.S_ISLNK(mod):
83
80
def make_writable(filename):
85
82
if not stat.S_ISLNK(mod):