Skip to content
Permalink
Browse files

Avoid python PendingDeprecationWarning on startup

  • Loading branch information
nyalldawson committed Sep 28, 2015
1 parent fefd85a commit 8a9009d83b06347180c115e689fc5743bea7a485
Showing with 4 additions and 0 deletions.
  1. +4 −0 python/plugins/MetaSearch/util.py
@@ -24,6 +24,10 @@
#
###############################################################################

#avoid PendingDeprecationWarning from PyQt4.uic
import warnings
warnings.filterwarnings("ignore", category=PendingDeprecationWarning)

import ConfigParser
from gettext import gettext, ngettext
import logging

0 comments on commit 8a9009d

Please sign in to comment.
You can’t perform that action at this time.