Make pep8 shut up.

This commit is contained in:
Florian Bruhin 2015-09-09 23:00:52 +02:00
parent bcee12853d
commit 1311e99e7c

View File

@ -266,7 +266,7 @@ def qt_message_handler(msg_type, context, msg):
# PNGs in Qt with broken color profile
# https://bugreports.qt.io/browse/QTBUG-39788
'libpng warning: iCCP: Not recognizing known sRGB profile that has '
'been edited',
'been edited', # noqa
# Hopefully harmless warning
'OpenType support missing for script ',
# Error if a QNetworkReply gets two different errors set. Harmless Qt
@ -298,7 +298,7 @@ def qt_message_handler(msg_type, context, msg):
'libpng warning: iCCP: known incorrect sRGB profile',
# https://bugreports.qt.io/browse/QTBUG-47154
'virtual void QSslSocketBackendPrivate::transmit() SSLRead failed '
'with: -9805',
'with: -9805', # noqa
]
if any(msg.strip().startswith(pattern) for pattern in suppressed_msgs):