diff options
Diffstat (limited to 'smartproxy/ipa-smartproxy.py')
-rw-r--r-- | smartproxy/ipa-smartproxy.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/smartproxy/ipa-smartproxy.py b/smartproxy/ipa-smartproxy.py index 23788ecf5..8cc704cf9 100644 --- a/smartproxy/ipa-smartproxy.py +++ b/smartproxy/ipa-smartproxy.py @@ -1,5 +1,3 @@ -#!/usr/bin/python2 -E -# # Authors: # Rob Crittenden <rcritten@redhat.com> # @@ -31,7 +29,7 @@ from cherrypy import response from ipalib import api from ipalib import errors from ipalib.request import context -from ipaserver.rpcserver import json_encode_binary +from ipalib.rpc import json_encode_binary from ipapython.version import VERSION, API_VERSION from ipapython.ipa_log_manager import root_logger @@ -393,7 +391,7 @@ wsgi_config = {'environment': 'embedded', 'engine.autoreload_on': False } -api.bootstrap(context='ipasmartproxy') +api.bootstrap(context='ipasmartproxy', log='/dev/null') api.finalize() cherrypy.config.update(wsgi_config) |