Skip to content

Commit

Permalink
tracer: define installed, erased vars (RhBug:1187763)
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
  • Loading branch information
ignatenkobrain committed Feb 13, 2015
1 parent 01065b8 commit 379b051
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ def transaction(self):
if self.base.conf.installroot != "/":
return

installed = set([package.name for package in
self.base.transaction.install_set])
erased = set([package.name for package in
self.base.transaction.remove_set])

args = ["tracer", "-n"] + list(installed | erased)
process = subprocess.Popen(args, stdout=subprocess.PIPE)
out = process.communicate()[0]
Expand Down

0 comments on commit 379b051

Please sign in to comment.