On Oct 21, 10:59 pm, pierreth <[email protected]> wrote:
> Hello,
>
> Is it possible to add the comment "#...@pydevcodeanalysisignore" in
> future versions of web2py to all the controllers and all the models of
> new applications created by the web2py admin?

You can do it yourself.  Something like (untested)

for root, dirs, files in os.walk('web2py'):
  for f in files:
    if f.endswith('.py'):
      fname = os.path.join(root, f)
      file(fname, 'w+).write("#...@pydevcodeanalysisignore\n" +
file(fname, 'r').read())

Reply via email to