X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fserver%2Fmodpython%2FSfaAggregateModPython.py;h=5d38a553e7d31e3b25861509913cd57ea71cc688;hb=a0ef6e7c91c3c8fa376943d28fec8c5c204a78cd;hp=8c97d19446660b68ed600a038243c14f4d71161f;hpb=913cfe2385160a1b2e5ddfa64b00b3fa61fa792c;p=sfa.git diff --git a/sfa/server/modpython/SfaAggregateModPython.py b/sfa/server/modpython/SfaAggregateModPython.py index 8c97d194..5d38a553 100755 --- a/sfa/server/modpython/SfaAggregateModPython.py +++ b/sfa/server/modpython/SfaAggregateModPython.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='aggregate') @@ -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