c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #03532
[Bug 524279] Re: Files missing VIM mode lines
** Tags added: long-term
--
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.