def ensureCurrentFileIsCheckedOut():
    curFile = Path(file(q=True, sn=True))
    if not curFile.getWritable():
        curFile.edit()
def ensureCurrentFileIsCheckedOut():
	curFile = Path( file( q=True, sn=True ) )
	if not curFile.getWritable():
		curFile.edit()