update python file modeline
fix trash restore prob caused by trash func