diff options
| author | ced <> | 2007-02-28 21:50:24 +0000 |
|---|---|---|
| committer | ced <> | 2007-02-28 21:50:24 +0000 |
| commit | e2e065ce5b84c238ae01db1c4486f255d02f4a68 (patch) | |
| tree | db0a905bcecab6806a3ab03e11820d0351b66621 /bin/tinyerp-server.py | |
| parent | 93cab3ffdde839b55edcb58503c7ed82c852e766 (diff) | |
KERNEL,CLIENT: add right-click for translate label
bzr revid: ced-394d547d53fe085331431661ae7568dc792665e6
Diffstat (limited to 'bin/tinyerp-server.py')
| -rwxr-xr-x | bin/tinyerp-server.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/tinyerp-server.py b/bin/tinyerp-server.py index da0397b1657..76553e53067 100755 --- a/bin/tinyerp-server.py +++ b/bin/tinyerp-server.py @@ -241,8 +241,10 @@ if tools.config['netrpc']: def handler(signum, frame): from tools import config - tinySocket.stop() - httpd.stop() + if tools.config['netrpc']: + tinySocket.stop() + if tools.config['xmlrpc']: + httpd.stop() netsvc.Agent.quit() if config['pidfile']: os.unlink(config['pidfile']) |
