~openerp-dev/openobject-server/6.1-opw-574830-xal

Viewing all changes in revision 4176.

  • Committer: Xavier ALT
  • Date: 2012-05-23 12:53:54 UTC
  • Revision ID: xal@openerp.com-20120523125354-jr6lgpecjyqrmaz3
[FIX] config: when assigning new value, ensure that value are correctly type checked

  This make configmanager stronger about config params values (if we need to enforce
  them as int, float, ...). Helping gunicorn user's to not set wrong value, like:

     conf['cpu_time_limit'] = '180'

  In that case, type checker will gracefully convert it to interger.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: