From ea38e78be55f58e0beb7df3e63b6c48db10d5f4a Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Tue, 25 Jan 2011 00:49:28 -0800 Subject: [PATCH] Add a leading '-' to disabled USE flags. --- pym/gentoolkit/analyse/output.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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))) -- 2.26.2