Patchwork [05/10] wic: remove rpm warning code from BackendPlugin

login
register
mail settings
Submitter tom.zanussi@linux.intel.com
Date Oct. 22, 2013, 2:24 p.m.
Message ID <1f8c74d82443303457f054bc301c15e0814f4d54.1382451106.git.tom.zanussi@linux.intel.com>
Download mbox | patch
Permalink /patch/60371/
State Accepted
Commit dd3cc03d4fa3347f8ef2db23d8ff98bdbdb73baa
Headers show

Comments

tom.zanussi@linux.intel.com - Oct. 22, 2013, 2:24 p.m.
We don't currently use rpm functionality, so we don't need to silence
rpm warnings.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
---
 scripts/lib/mic/pluginbase.py | 5 -----
 1 file changed, 5 deletions(-)

Patch

diff --git a/scripts/lib/mic/pluginbase.py b/scripts/lib/mic/pluginbase.py
index 6ac195b..2f9d720 100644
--- a/scripts/lib/mic/pluginbase.py
+++ b/scripts/lib/mic/pluginbase.py
@@ -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