diff options
| author | Vo Minh Thu <vmt@openerp.com> | 2013-01-16 14:25:41 +0100 |
|---|---|---|
| committer | Vo Minh Thu <vmt@openerp.com> | 2013-01-16 14:25:41 +0100 |
| commit | f6e2a1314cc9150bb841d093e01ff9fa7c726420 (patch) | |
| tree | cc0f4330c748ad28ac74b2f24d078e7343fb3539 /openerpcommand/common.py | |
| parent | b146cd6fec80185f157c32f5b5dd68629c1636bd (diff) | |
[IMP] oe cron: use setproctitle, set openerp.multi_process.
bzr revid: vmt@openerp.com-20130116132541-r655evhfrptxxyxl
Diffstat (limited to 'openerpcommand/common.py')
| -rw-r--r-- | openerpcommand/common.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openerpcommand/common.py b/openerpcommand/common.py index 89898ff4c3c..bc3101c4be5 100644 --- a/openerpcommand/common.py +++ b/openerpcommand/common.py @@ -3,6 +3,10 @@ Define a few common arguments for server-side command-line tools. """ import argparse import os +try: + from setproctitle import setproctitle +except ImportError: + setproctitle = lambda x: None import sys def add_addons_argument(parser): |
