Hide 2 more Qt warnings.

This commit is contained in:
Florian Bruhin 2015-01-07 06:59:48 +01:00
parent 75ac9cce49
commit b12b83f98c

View File

@ -267,7 +267,12 @@ def qt_message_handler(msg_type, context, msg):
# Harmless, see https://bugreports.qt-project.org/browse/QTBUG-42479 # Harmless, see https://bugreports.qt-project.org/browse/QTBUG-42479
"content-type missing in HTTP POST, defaulting to " "content-type missing in HTTP POST, defaulting to "
"application/x-www-form-urlencoded. Use QNetworkRequest::setHeader() " "application/x-www-form-urlencoded. Use QNetworkRequest::setHeader() "
"to fix this problem." "to fix this problem.",
# https://bugreports.qt-project.org/browse/QTBUG-43118
"Using blocking call!",
# Hopefully harmless
'"Method "GetAll" with signature "s" on interface '
'"org.freedesktop.DBus.Properties" doesn\'t exist',
) )
if any(msg.strip().startswith(pattern) for pattern in suppressed_msgs): if any(msg.strip().startswith(pattern) for pattern in suppressed_msgs):
level = logging.DEBUG level = logging.DEBUG