From: Brian Dolbec Date: Tue, 25 Jan 2011 08:27:31 +0000 (-0800) Subject: fix a missed rename and relocationof some imports X-Git-Tag: gentoolkit-0.3.0~24 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=436ded8a7e9e32b419d0f0423d2b4da1c3ca77d2;p=gentoolkit.git fix a missed rename and relocationof some imports --- 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(" ") +