1205
1222
if path.endswith(suffix):
1206
1223
return path[:-len(suffix)]
1208
1226
def is_control_file(filename):
1210
1229
filename = normpath(filename)
1212
1231
head, tail = os.path.split(filename)
1213
1232
## mutter('check %r for control file' % ((head, tail),))