diff options
author | Rajesh Tailor <rajesh.tailor@nttdata.com> | 2015-06-05 01:53:18 -0700 |
---|---|---|
committer | Rajesh Tailor <rajesh.tailor@nttdata.com> | 2015-06-05 01:54:12 -0700 |
commit | 15155c986611af418a821df8eb90056f883f4118 (patch) | |
tree | 68edf737090b11fc02f8302c7f09720589db2865 | |
parent | 8f04566e456c618971512d9566a303541e10d30c (diff) | |
download | nova-15155c986611af418a821df8eb90056f883f4118.tar.gz |
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: Ie06449392badcbc715ac60f6b5f1076cd5c43b61
-rw-r--r-- | nova/tests/unit/api/openstack/fakes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/unit/api/openstack/fakes.py b/nova/tests/unit/api/openstack/fakes.py index b2eb626479..090e4d5310 100644 --- a/nova/tests/unit/api/openstack/fakes.py +++ b/nova/tests/unit/api/openstack/fakes.py @@ -259,7 +259,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(os_wsgi.Request): |