diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-08-06 09:12:49 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-08-06 09:12:49 +0200 |
| commit | 76f885299f5693673ea197d879f9126009a3cdce (patch) | |
| tree | bce3458d4d20f19c57fa251e87ee6a74a8875598 /addons/web/static/src/css | |
| parent | 0d2d7ee5855ecbd463ccc6fd902f3af54c504410 (diff) | |
[IMP] code style improvements
* Remove unused variables
* Simplify dict.get call in conditionals (default is None)
* Simplify dict.update calls (use kwargs)
* Merge dict.copy() with dict.update() as dict()
* Use isinstance instead of type() equality tests
* Simplify deeply nested code: merge conditionals and remove useless
conditional, use dict.iteritems()
* Log traceback in exception handler logging
bzr revid: xmo@openerp.com-20120806071249-heh32pi1v0qd3m2j
Diffstat (limited to 'addons/web/static/src/css')
0 files changed, 0 insertions, 0 deletions
