In the diff, + not f.endswith('.desktop.in') and not f.endswith('*.notifyrc.in'): looks like a bug (because of “*”).
In the diff, '.desktop. in') and not f.endswith( '*.notifyrc. in'):
+ not f.endswith(
looks like a bug (because of “*”).