Add a leading '-' to disabled USE flags.
authorBrian Dolbec <brian.dolbec@gmail.com>
Tue, 25 Jan 2011 08:49:28 +0000 (00:49 -0800)
committerBrian Dolbec <brian.dolbec@gmail.com>
Tue, 25 Jan 2011 08:49:28 +0000 (00:49 -0800)
pym/gentoolkit/analyse/output.py

index 832e6b1c7f3c8ac667c2cbd8c74b5ef9cb2f77d5..85ee391bf400755ac9cff8e22b9a2aa7daf57d2e 100644 (file)
@@ -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)))