[Collab-qa-commits] r1491 - udd/udd

Lucas Nussbaum lucas at alioth.debian.org
Fri Jun 19 11:24:14 UTC 2009


Author: lucas
Date: 2009-06-19 11:24:13 +0000 (Fri, 19 Jun 2009)
New Revision: 1491

Modified:
   udd/udd/lintian_gatherer.py
Log:
add pedantic severity to lintian (2)

Modified: udd/udd/lintian_gatherer.py
===================================================================
--- udd/udd/lintian_gatherer.py	2009-06-19 11:23:48 UTC (rev 1490)
+++ udd/udd/lintian_gatherer.py	2009-06-19 11:24:13 UTC (rev 1491)
@@ -16,7 +16,7 @@
   #RE to parse lintian output, pushing the tag code to $1, package name
   #to $2, pkg type to $3, tag name to $4 and extra info to $5
   # (stolen from Russ Allbery, thanks dude)
-  output_re = re.compile("([EWIXO]): (\S+)(?: (\S+))?: (\S+)(?:\s+(.*))?");
+  output_re = re.compile("([EWIXOP]): (\S+)(?: (\S+))?: (\S+)(?:\s+(.*))?");
 
   ignore_re = re.compile("^((gpg|secmem usage|warning|(/bin/)?tar|internal error|/usr/bin/xgettext|ERROR): |     |Use of uninitialized value in numeric lt .*)");
 
@@ -26,6 +26,7 @@
     "I": "information",
     "X": "experimental",
     "O": "overriden",
+    "P": "pedantic",
   }
 
   def __init__(self, connection, config, source):




More information about the Collab-qa-commits mailing list