[Blends-commit] [SCM] website branch, master, updated. 70838b14c37d4c65891221e70d58dfcd4b0adced
Andreas Tille
tille at debian.org
Sun Feb 21 11:36:03 UTC 2016
The following commit has been merged in the master branch:
commit 70838b14c37d4c65891221e70d58dfcd4b0adced
Author: Andreas Tille <tille at debian.org>
Date: Sun Feb 21 09:05:06 2016 +0100
No idea why this the key is unknown under some circumstances - just ignore for the moment as long as we are only logging the values anyway
diff --git a/webtools_py3/blendstasktools_udd.py b/webtools_py3/blendstasktools_udd.py
index d6f3abe..7772308 100644
--- a/webtools_py3/blendstasktools_udd.py
+++ b/webtools_py3/blendstasktools_udd.py
@@ -1300,8 +1300,11 @@ class TaskDependencies:
dep.properties['maintainer'] = (row['maintainer'])
dep.responsible = '<a href="mailto:%s">%s</a>' % (_url, (_name))
- if row['edam_topics']:
- logger.info("Edam topics found for package %s: %s" % (dep.pkg, str(row['edam_topics'])))
+ try:
+ if row['edam_topics']:
+ logger.info("Edam topics found for package %s: %s" % (dep.pkg, str(row['edam_topics'])))
+ except KeyError:
+ pass
if 'remark' in row and row['remark']:
(short, long) = SplitDescription(row['remark'])
--
Static and dynamic websites for Debian Pure Blends
More information about the Blends-commit
mailing list