Merge pull request #3102 from quay/fix-return
Constructor for ValidatorContext should return something
This commit is contained in:
commit
7341466a8b
1 changed files with 12 additions and 12 deletions
|
@ -131,7 +131,7 @@ class ValidatorContext(object):
|
||||||
"""
|
"""
|
||||||
url_scheme_and_hostname = URLSchemeAndHostname.from_app_config(app.config)
|
url_scheme_and_hostname = URLSchemeAndHostname.from_app_config(app.config)
|
||||||
|
|
||||||
cls(config,
|
return cls(config,
|
||||||
user_password,
|
user_password,
|
||||||
client or app.config['HTTPCLIENT'],
|
client or app.config['HTTPCLIENT'],
|
||||||
app.app_context,
|
app.app_context,
|
||||||
|
|
Reference in a new issue