[jhbuild/release-team-commands] simpler false positive files when checking a single symbol



commit 9a49ed1352b413c5b12c9b3277cd0b639dc4b75a
Author: Frédéric Péters <fpeters 0d be>
Date:   Fri May 15 10:43:33 2009 +0200

    simpler false positive files when checking a single symbol
---
 jhbuild/commands/goalreport.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/jhbuild/commands/goalreport.py b/jhbuild/commands/goalreport.py
index e42e330..02e395f 100644
--- a/jhbuild/commands/goalreport.py
+++ b/jhbuild/commands/goalreport.py
@@ -202,8 +202,12 @@ class SymbolsCheck(Check):
     def fix_false_positive(self, false_positive):
         if not false_positive:
             return
+        if len(self.symbols) == 1 and false_positive == '-':
+            self.bad_symbols = []
+            self.compute_status()
+            return
         for symbol in false_positive.split(','):
-	    symbol = symbol.strip()
+            symbol = symbol.strip()
             if symbol in self.bad_symbols:
                 self.bad_symbols.remove(symbol)
         self.compute_status()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]