---
yum/__init__.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/yum/__init__.py b/yum/__init__.py
index c160201..143a07e 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -1435,9 +1435,13 @@ class YumBase(depsolve.Depsolve):
# will be we store what we thought, not what happened (so it'll be an
# invalid cache).
self.rpmdb.transactionResultVersion(frpmdbv)
-
# transaction has started - all bets are off on our saved ts file
if self._ts_save_file is not None:
+ # write the saved transaction data to the addon location in history
+ # so we can pull it back later if we need to
+ savetx_msg = open(self._ts_save_file, 'r').read()
+ self.history.write_addon_data('txfile', savetx_msg)
+
try:
os.unlink(self._ts_save_file)
except (IOError, OSError), e:
--
1.7.3.4
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel