yum-3.2.29_el66-no-scriptout-exception.patch (615B)
1 Index: yum-3.2.29/yum/rpmtrans.py 2 =================================================================== 3 --- yum-3.2.29.orig/yum/rpmtrans.py 4 +++ yum-3.2.29/yum/rpmtrans.py 5 @@ -255,7 +255,10 @@ class RPMTransaction: 6 def _scriptout(self, data): 7 msgs = self._scriptOutput() 8 self.display.scriptout(data, msgs) 9 - self.base.history.log_scriptlet_output(data, msgs) 10 + try: 11 + self.base.history.log_scriptlet_output(data, msgs) 12 + except: 13 + self.display.errorlog('could not log scriptlet output') 14 15 def __del__(self): 16 self._shutdownOutputLogging()