diff options
Diffstat (limited to 'pike/pike/samples/views.py')
-rw-r--r-- | pike/pike/samples/views.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pike/pike/samples/views.py b/pike/pike/samples/views.py index 58d1d80b..f0fe6883 100644 --- a/pike/pike/samples/views.py +++ b/pike/pike/samples/views.py @@ -1,3 +1,6 @@ +''' +samples view +''' # Copyright (c) 2017-2018 Wind River Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -17,13 +20,13 @@ import logging from rest_framework.views import APIView from rest_framework.response import Response -logger = logging.getLogger(__name__) +LOGGER = logging.getLogger(__name__) class SampleList(APIView): """ List all samples. """ - def get(self, request, format=None): - logger.debug("get") + def get(self, request): + LOGGER.debug("get %s", request) return Response({"status": "active"}) |