[REF] one unused import and one redundant import.

bzr revid: florent.xicluna@gmail.com-20120201123311-yvljvcj0luly77qt
This commit is contained in:
Florent Xicluna 2012-02-01 13:33:11 +01:00
parent efef81654b
commit 111d8b76f7
1 changed files with 1 additions and 4 deletions

View File

@ -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']: