wic: remove rpm warning code from BackendPlugin
authorTom Zanussi <tom.zanussi@linux.intel.com>
Tue, 22 Oct 2013 14:24:00 +0000 (09:24 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Oct 2013 06:14:11 +0000 (07:14 +0100)
We don't currently use rpm functionality, so we don't need to silence
rpm warnings.

(From OE-Core rev: dd3cc03d4fa3347f8ef2db23d8ff98bdbdb73baa)

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/mic/pluginbase.py

index 6ac195b..2f9d720 100644 (file)
@@ -83,11 +83,6 @@ class ImagerPlugin(_Plugin):
 class BackendPlugin(_Plugin):
     mic_plugin_type="backend"
 
-    # suppress the verbose rpm warnings
-    if msger.get_loglevel() != 'debug':
-        import rpm
-        rpm.setVerbosity(rpm.RPMLOG_ERR)
-
     def addRepository(self):
         pass