[Collab-qa-commits] r2111 - udd/udd
Iain Lane
laney at alioth.debian.org
Mon Dec 26 15:57:43 UTC 2011
Author: laney
Date: 2011-12-26 15:57:43 +0000 (Mon, 26 Dec 2011)
New Revision: 2111
Modified:
udd/udd/debtags_gatherer.py
Log:
debtags_gatherer: Format of untagged packages changed
These are now indicated by not including any information other than the package
name on a line, i.e.:
foopkg
we simply ignore these lines ?\226?\128?\148 the debtags table represents the tags that
packages have and says nothing about untagged packages.
Modified: udd/udd/debtags_gatherer.py
===================================================================
--- udd/udd/debtags_gatherer.py 2011-12-20 15:54:47 UTC (rev 2110)
+++ udd/udd/debtags_gatherer.py 2011-12-26 15:57:43 UTC (rev 2111)
@@ -35,6 +35,9 @@
tags_db = file(fname)
for line in tags_db:
line_no += 1
+ # Packages without tags are represented as ^package$; ignore these
+ if not ": " in line:
+ continue
line = line.strip()
parsed_line = tag_line_RE.match(line)
if not parsed_line:
More information about the Collab-qa-commits
mailing list