[Blends-commit] [SCM] website branch, master, updated. bbb44ee821b50bd503ce1ab3edad58d5789a4318

Andreas Tille tille at debian.org
Thu Dec 29 14:07:31 UTC 2016


The following commit has been merged in the master branch:
commit bbb44ee821b50bd503ce1ab3edad58d5789a4318
Author: Andreas Tille <tille at debian.org>
Date:   Thu Dec 29 15:02:22 2016 +0100

    Do not report valid keys

diff --git a/webtools/blendstasktools.py b/webtools/blendstasktools.py
index 37a292a..15c9e18 100644
--- a/webtools/blendstasktools.py
+++ b/webtools/blendstasktools.py
@@ -49,6 +49,7 @@ DEFAULTPORT = 5432
 # Seems to have problems on 17.04.2009
 # BASEURL  = 'https://ftp.debian.org/debian'
 BASEURL = 'https://ftp.de.debian.org/debian'
+KEYSVALID = ('Depends', 'Recommends', 'Suggests')
 KEYSTOIGNORE = ('Architecture', 'Comment', 'Leaf', 'NeedConfig', 'Note', 'Section',
                 'Needconfig', 'DontAvoid',
                 'Enhances', 'Test-always-lang', 'Metapackage')
@@ -1280,7 +1281,7 @@ class TaskDependencies:
                     if longDesc:
                         remark['long'] = longDesc
                 else:
-                    if key not in KEYSTOIGNORE:
+                    if key not in KEYSTOIGNORE and key not in KEYSVALID:
                         # Also ignore keys starting with X[A-Z]-
                         if not re.compile("^X[A-Z]*-").search(key):
                             try:

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list