← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 524279] Re: Files missing VIM mode lines

 

IHMO this is not a bug, what happens with emacs users, project must be
open with editors, and i suggest remove from all files.

my 2c,

-- 
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.