[Yum-devel] [PATCH] Fix no script output from transaction, BZ 554462
James Antill
james at and.org
Mon Jan 18 14:39:03 UTC 2010
---
rpmUtils/transaction.py | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/rpmUtils/transaction.py b/rpmUtils/transaction.py
index 329de69..7e21fbf 100644
--- a/rpmUtils/transaction.py
+++ b/rpmUtils/transaction.py
@@ -48,6 +48,15 @@ class TransactionWrapper:
# Automatically close the rpm transaction when the reference is lost
self.close()
+ def _wrap_scriptFd_get(self):
+ return self.ts.scriptFd
+
+ def _wrap_scriptFd_set(self, val):
+ self.ts.scriptFd = val
+ return val
+
+ scriptFd = property(fget=_wrap_scriptFd_get, fset=_wrap_scriptFd_set)
+
def close(self):
if self.open:
self.ts.closeDB()
--
1.6.5.2
More information about the Yum-devel
mailing list