[Piuparts-commits] [piuparts] 01/05: lib/dwke: fix parsing known_problem definitions using EXCLUDE_PATTERN

Holger Levsen holger at moszumanska.debian.org
Fri Nov 21 11:57:03 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 1ff3858d8d324e814bcd992c3dd7b081fef519a2
Author: Andreas Beckmann <anbe at debian.org>
Date:   Fri Nov 21 12:02:18 2014 +0100

    lib/dwke: fix parsing known_problem definitions using EXCLUDE_PATTERN
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 debian/changelog    | 1 +
 piupartslib/dwke.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0ede1c0..c218707 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -24,6 +24,7 @@ piuparts (0.61) UNRELEASED; urgency=medium
       + /etc/modules-load.d/modules.conf  (dangling symlink to ../modules)
     - Create /etc/resolv.conf in the chroot using only the nameserver entries
       found on the host.
+  * lib/dwke.py: Fix parsing known_problems/*.conf using EXCLUDE_PATTERN.
   * Add "AddDefaultCharset utf-8" to the apache2 configuration snipplet
     example, so that logfiles are displayed as UTF-8.
   * pre_install_foreign_architecture: New script to enable foreign
diff --git a/piupartslib/dwke.py b/piupartslib/dwke.py
index 5292083..cba3e30 100644
--- a/piupartslib/dwke.py
+++ b/piupartslib/dwke.py
@@ -74,7 +74,7 @@ class Problem():
         probbody = pb.read()
         pb.close()
 
-        tagged = re.sub("^([A-Z]+=)", "<hdr>\g<0>", probbody, 0, re.MULTILINE)
+        tagged = re.sub("^([A-Z_]+=)", "<hdr>\g<0>", probbody, 0, re.MULTILINE)
 
         for chub in re.split('<hdr>', tagged)[1:]:
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list