[REF] one unused import and one redundant import.
bzr revid: florent.xicluna@gmail.com-20120201123311-yvljvcj0luly77qt
This commit is contained in:
parent
efef81654b
commit
111d8b76f7
|
@ -42,9 +42,6 @@ import openerp
|
|||
__author__ = openerp.release.author
|
||||
__version__ = openerp.release.version
|
||||
|
||||
import sys
|
||||
import imp
|
||||
|
||||
def check_root_user():
|
||||
""" Exit if the process's user is 'root' (on POSIX system)."""
|
||||
if os.name == 'posix':
|
||||
|
@ -200,7 +197,7 @@ def quit_on_signals():
|
|||
try:
|
||||
while quit_signals_received == 0:
|
||||
time.sleep(60)
|
||||
except KeyboardInterrupt, e:
|
||||
except KeyboardInterrupt:
|
||||
pass
|
||||
|
||||
if config['pidfile']:
|
||||
|
|
Loading…
Reference in New Issue