From 436ded8a7e9e32b419d0f0423d2b4da1c3ca77d2 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Tue, 25 Jan 2011 00:27:31 -0800 Subject: [PATCH] fix a missed rename and relocationof some imports --- pym/gentoolkit/analyse/rebuild.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pym/gentoolkit/analyse/rebuild.py b/pym/gentoolkit/analyse/rebuild.py index e04d8be..cce8864 100644 --- a/pym/gentoolkit/analyse/rebuild.py +++ b/pym/gentoolkit/analyse/rebuild.py @@ -20,8 +20,8 @@ import gentoolkit from gentoolkit.dbapi import PORTDB, VARDB from gentoolkit.analyse.base import ModuleBase from gentoolkit import pprinter as pp -from gentoolkit.analyse.lib import (get_installed_use, get_flags, - abs_flag, abs_list, FlagAnalyzer) +from gentoolkit.analyse.lib import get_installed_use, get_flags, FlagAnalyzer +from gentoolkit.flag import reduce_flags from gentoolkit.analyse.output import RebuildPrinter import portage @@ -179,7 +179,7 @@ class Rebuild(ModuleBase): for pkg in pkg_keys: if self.options['verbose']: flag_count += len(pkgs[pkg]) - unique_flags.update(abs_list(pkgs[pkg])) + unique_flags.update(reduce_flags(pkgs[pkg])) output(pkg, pkgs[pkg]) if self.options['verbose']: message = (pp.emph(" ") + -- 2.26.2