From b0afee1e965b26e276b88a3df9df3afac3693aa4 Mon Sep 17 00:00:00 2001 From: Rajesh Tailor Date: Thu, 4 Jun 2015 05:29:02 -0700 Subject: [PATCH] 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 --- cinder/tests/unit/api/fakes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.45.2