From: Rajesh Tailor Date: Thu, 4 Jun 2015 12:29:02 +0000 (-0700) Subject: Removed explicit return from __init__ method X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=b0afee1e965b26e276b88a3df9df3afac3693aa4;p=openstack-build%2Fcinder-build.git Removed explicit return from __init__ method As per python documentation [1], removed explicit return keyword from __init__ method. [1] https://docs.python.org/2/reference/datamodel.html#object.__init__ Closes-Bug: 1461931 Change-Id: I654d7786e1971304789bbb376f8ced2b5646370e --- diff --git a/cinder/tests/unit/api/fakes.py b/cinder/tests/unit/api/fakes.py index fd6aa0930..de8c9f371 100644 --- a/cinder/tests/unit/api/fakes.py +++ b/cinder/tests/unit/api/fakes.py @@ -98,7 +98,7 @@ class FakeToken(object): class FakeRequestContext(context.RequestContext): def __init__(self, *args, **kwargs): kwargs['auth_token'] = kwargs.get('auth_token', 'fake_auth_token') - return super(FakeRequestContext, self).__init__(*args, **kwargs) + super(FakeRequestContext, self).__init__(*args, **kwargs) class HTTPRequest(webob.Request):