[jhbuild] goalreport: allow false positive page to mention a check is n/a



commit f03c7ebcb5e50a1a53101550ae42362db66e7347
Author: FrÃdÃric PÃters <fpeters 0d be>
Date:   Sun May 13 15:48:59 2012 +0200

    goalreport: allow false positive page to mention a check is n/a

 jhbuild/commands/goalreport.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/jhbuild/commands/goalreport.py b/jhbuild/commands/goalreport.py
index b125240..270572b 100644
--- a/jhbuild/commands/goalreport.py
+++ b/jhbuild/commands/goalreport.py
@@ -137,6 +137,8 @@ class Check:
     def fix_false_positive(self, false_positive):
         if not false_positive:
             return
+        if false_positive ==  'n/a':
+            raise ExcludedModuleException()
         self.status = 'ok'
 
     def create_from_args(cls, *args):



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