Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 849419 Details for
Bug 1045494
yum post transaction action fails when package is removed
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Use transaction info to get package object -> txmbr.po
fix-for-bugzilla-bug-1045494.patch (text/plain), 884 bytes, created by
Robert Tomczyk
on 2014-01-13 14:52:59 UTC
(
hide
)
Description:
Use transaction info to get package object -> txmbr.po
Filename:
MIME Type:
Creator:
Robert Tomczyk
Created:
2014-01-13 14:52:59 UTC
Size:
884 bytes
patch
obsolete
>diff --git a/plugins/post-transaction-actions/post-transaction-actions.py b/plugins/post-transaction-actions/post-transaction-actions.py >index a9759ff..a969a7d 100644 >--- a/plugins/post-transaction-actions/post-transaction-actions.py >+++ b/plugins/post-transaction-actions/post-transaction-actions.py >@@ -129,10 +129,9 @@ def posttrans_hook(conduit): > > for txmbr in pkgset: > matched = False >- if txmbr.output_state in TS_INSTALL_STATES: >- thispo = _get_installed_po(rpmdb, txmbr.pkgtup) >- else: >- continue >+ >+ # Get package object from yum.transactioninfo.TransactionMember class >+ thispo = txmbr.po > > if not yum.misc.re_glob(a_k): > if a_k in thispo.filelist + thispo.dirlist + thispo.ghostlist:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1045494
:
849373
| 849419