Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit e9c13fe73d228269a40e07f511c368a900eefb01
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Fri Nov 13 14:27:52 2015 +0100
R: 20, 4: Method could be a function (no-self-use)
---------------------------------------------------------------
.../coprs/rest_api/resources/build.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/frontend/coprs_frontend/coprs/rest_api/resources/build.py
b/frontend/coprs_frontend/coprs/rest_api/resources/build.py
index 8736f1e..b108ce7 100644
--- a/frontend/coprs_frontend/coprs/rest_api/resources/build.py
+++ b/frontend/coprs_frontend/coprs/rest_api/resources/build.py
@@ -17,7 +17,8 @@ from ..util import mm_deserialize, get_request_parser, arg_bool
class BuildListR(Resource):
- def get(self):
+ @classmethod
+ def get(cls):
parser = get_request_parser()