I know you want to lower the bug count, but this one can be fixed with 3 lines 
of BASH an has absolutely NO IMPACT on the code.
At least can you please mark it "opinion"? So that eventually you can chose 
between enforcing the convention (this bug), or changing the convention (Bug 
#522708)

-- 
Files missing VIM mode lines
https://bugs.launchpad.net/bugs/524279
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: Won't Fix

Bug description:
The convention for the moment is to end each python file with a vim mode line. 
There are offending files in the current codebase, which you can find out with 
GNU grep:
    grep -R --files-without-match "^# vim:" . |grep ".py$"
and fix with bash and GNU grep:
    for i in $(grep -R --files-without-match "^# vim:" . |grep ".py$" ); do 
echo -e "\n# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:" 
>>$i ; done
Lionel.





_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to