X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fserver%2Fmodpython%2FSfaSliceMgrModPython.py;h=dcb85626b475ea7a705724bb6233b39fd5f321df;hb=a0ef6e7c91c3c8fa376943d28fec8c5c204a78cd;hp=7d0e5f2cdfa0cdc942824a2e4aa2ee9cc2cbc52d;hpb=7d41479ffc629cabcab476a94e4e93be41b29ecf;p=sfa.git diff --git a/sfa/server/modpython/SfaSliceMgrModPython.py b/sfa/server/modpython/SfaSliceMgrModPython.py index 7d0e5f2c..dcb85626 100755 --- a/sfa/server/modpython/SfaSliceMgrModPython.py +++ b/sfa/server/modpython/SfaSliceMgrModPython.py @@ -12,7 +12,7 @@ import traceback from mod_python import apache from sfa.util.sfalogging import logger -from sfa.plc.server import SfaApi +from sfa.planetlab.server import SfaApi api = SfaApi(interface='slicemgr') @@ -50,7 +50,7 @@ def handler(req): return apache.OK - except Exception, err: + except Exception as err: # Log error in /var/log/httpd/(ssl_)?error_log logger.log_exc('%r'%err) return apache.HTTP_INTERNAL_SERVER_ERROR