[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    l10n-kde4/scripts/pology
From:       Chusslove Illich <caslav.ilic () gmx ! net>
Date:       2007-10-12 21:26:26
Message-ID: 1192224386.101958.6951.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 724632 by ilic:

Ignore obsolete messages for purge check.

 M  +4 -3      posummit.py  


--- trunk/l10n-kde4/scripts/pology/posummit.py #724631:724632
@@ -943,8 +943,8 @@
         branch_cats[branch_id] = [Catalog(x) for x in branch_paths]
 
     # For each message in the summit catalog, check its presence in
-    # branch catalogs; update branch IDs, or remove the message
-    # if none remaining.
+    # branch catalogs (consider only non-obsolete messages);
+    # update branch IDs, or remove the message if none remaining.
     for summit_msg in summit_cat:
         branch_ids = get_summit_comment(summit_msg,
                                         _summit_tag_branchid).split()
@@ -952,7 +952,8 @@
         for branch_id in branch_ids:
             if branch_id in branch_cats:
                 for branch_cat in branch_cats[branch_id]:
-                    if summit_msg in branch_cat:
+                    if summit_msg in branch_cat \
+                    and not branch_cat[summit_msg].obsolete:
                         valid_branch_ids.append(branch_id)
                         break
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic