Remove pylint suppression for sip.assign
We can control the installed sip version nowadays
This commit is contained in:
parent
2214fd63b5
commit
64dc28c568
@ -1262,9 +1262,7 @@ class WebEngineTab(browsertab.AbstractTab):
|
||||
authenticator.setPassword(answer.password)
|
||||
else:
|
||||
try:
|
||||
# pylint: disable=no-member, useless-suppression
|
||||
sip.assign(authenticator, QAuthenticator())
|
||||
# pylint: enable=no-member, useless-suppression
|
||||
except AttributeError:
|
||||
self._show_error_page(url, "Proxy authentication required")
|
||||
|
||||
@ -1286,9 +1284,7 @@ class WebEngineTab(browsertab.AbstractTab):
|
||||
if not netrc_success and answer is None:
|
||||
log.network.debug("Aborting auth")
|
||||
try:
|
||||
# pylint: disable=no-member, useless-suppression
|
||||
sip.assign(authenticator, QAuthenticator())
|
||||
# pylint: enable=no-member, useless-suppression
|
||||
except AttributeError:
|
||||
# WORKAROUND for
|
||||
# https://www.riverbankcomputing.com/pipermail/pyqt/2016-December/038400.html
|
||||
|
Loading…
Reference in New Issue
Block a user