Fix tox issue
[multicloud/azure.git] / azure / multicloud_azure / swagger / views / flavor / views.py
index c4eb060..8b65cea 100644 (file)
@@ -27,7 +27,7 @@ class FlavorsView(APIView):
     def post(self, request, vimid):
         try:
             create_req = json.loads(request.body)
-        except Exception as e:
+        except Exception:
             return Response(data={'error': 'Fail to decode request body.'},
                             status=status.HTTP_500_INTERNAL_SERVER_ERROR)