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

Andreas Tille tille at debian.org
Thu Oct 19 09:41:19 UTC 2017


The following commit has been merged in the master branch:
commit 164d4f48a6eb48d8f24842b7e1a8aa57317f1100
Author: Andreas Tille <tille at debian.org>
Date:   Wed Oct 18 20:28:38 2017 +0200

    Allow using Python3

diff --git a/webtools/blendstasktools.py b/webtools/blendstasktools.py
index e1caa5d..59c8d62 100644
--- a/webtools/blendstasktools.py
+++ b/webtools/blendstasktools.py
@@ -1484,7 +1484,7 @@ class TaskDependencies:
                     logger.info("Edam topics found for package %s: %s" % (dep.properties['name'], str(row['edam_topics'])))
 
                 for prop in ('biotools', 'omictools', 'seqwiki', 'scicrunch', 'rrid', 'bugs'):
-                    if row.has_key(prop):
+                    if prop in row:
                         dep.properties[prop] = row[prop]
 
                 # Publications

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list