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
This commit is contained in:
Rajesh Tailor 2015-06-05 01:53:18 -07:00
parent 8f04566e45
commit 15155c9866
1 changed files with 1 additions and 1 deletions

View File

@ -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):