Skip to content

Commit

Permalink
allow virtual/* pkgs to be considered for --newuse rebuilding
Browse files Browse the repository at this point in the history
  • Loading branch information
radhermit committed Dec 4, 2013
1 parent d103355 commit 27f61fd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkgcore/scripts/pmerge.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,10 +457,8 @@ def main(options, out, err):
if options.newuse:
out.write(out.bold, ' * ', out.reset, 'Scanning for changed USE...')
out.title('Scanning for changed USE...')
restrict = packages.PackageRestriction('category',
values.StrExactMatch('virtual'), negate=True)
if atoms:
restrict = AndRestriction(restrict, OrRestriction(*atoms))
restrict = OrRestriction(*atoms)
for inst_pkg in installed_repos.itermatch(restrict):
src_pkgs = source_repos.match(inst_pkg.versioned_atom)
if src_pkgs:
Expand Down

0 comments on commit 27f61fd

Please sign in to comment.