try:
import json
-except ImportError, e:
+except ImportError as e:
import simplejson as json
from django.views.decorators.csrf import csrf_exempt
summary_list.append(eland_summary)
- #except Exception, e:
+ #except Exception as e:
# summary_list.append("Summary report needs to be updated.")
# LOGGER.error("Exception: " + str(e))
"""
try:
lib = Library.objects.get(id=library_id)
- except Library.DoesNotExist, e:
+ except Library.DoesNotExist as e:
return None
#lane_info = lane_information(lib.lane_set)