Skip to content
Snippets Groups Projects
Commit 875866fd authored by Viktor Vorobev's avatar Viktor Vorobev Committed by Ugo Albanese
Browse files

Merged in HOTFIX-pylint-warnings (pull request #30)

[NRRPLT-0000][HOTFIX] Fix Pylint warnings: assignment-from-none

Approved-by: Ugo Albanese
parent 90fd8e24
No related branches found
No related tags found
No related merge requests found
......@@ -205,6 +205,7 @@ class VirtualCoach(object):
br['j_username'] = user_name
br['j_password'] = password
# pylint: disable=assignment-from-none
res = br.submit()
if 'error=' not in res.geturl():
......@@ -215,6 +216,7 @@ class VirtualCoach(object):
# the user is forwarded to the approve page if not approved yet
if 'access_token' not in urlparse.urlparse(res.geturl()).fragment.lower():
br.select_form(name='confirmationForm')
# pylint: disable=assignment-from-none
res = br.submit()
url_with_fragment = res.geturl()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment