Commit 2feecf12 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Fix lint warnings after my last changes


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 16b037a9
......@@ -53,7 +53,6 @@ from ganeti import ssconf
from ganeti import workerpool
from ganeti import rpc
from ganeti import bootstrap
from ganeti import serializer
CLIENT_REQUEST_WORKERS = 16
......
......@@ -234,7 +234,13 @@ class R_Generic(object):
self.queryargs = queryargs
self._req = req
request_body = property(fget=lambda self: self._req.private.body_data)
def _GetRequestBody(self):
"""Returns the body data.
"""
return self._req.private.body_data
request_body = property(fget=_GetRequestBody)
def _checkIntVariable(self, name, default=0):
"""Return the parsed value of an int argument.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment