From: Brian Dolbec Date: Tue, 25 Jan 2011 08:49:28 +0000 (-0800) Subject: Add a leading '-' to disabled USE flags. X-Git-Tag: gentoolkit-0.3.0~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ea38e78be55f58e0beb7df3e63b6c48db10d5f4a;p=gentoolkit.git Add a leading '-' to disabled USE flags. --- diff --git a/pym/gentoolkit/analyse/output.py b/pym/gentoolkit/analyse/output.py index 832e6b1..85ee391 100644 --- a/pym/gentoolkit/analyse/output.py +++ b/pym/gentoolkit/analyse/output.py @@ -157,7 +157,7 @@ class AnalysisPrinter(CpvValueWrapper): for flag in plus: _flags.append(pp.useflag((flag), True)) for flag in minus: - _flags.append(pp.useflag((flag), False)) + _flags.append(pp.useflag(('-'+flag), False)) print(self._format_values(cpv, ", ".join(_flags))) @@ -169,7 +169,7 @@ class AnalysisPrinter(CpvValueWrapper): for flag in plus: _flags.append(pp.useflag((flag), True)) for flag in minus: - _flags.append(pp.useflag((flag), False)) + _flags.append(pp.useflag(('-'+flag), False)) print(self._format_values(cpv, ", ".join(_flags)))