beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chamik...@apache.org
Subject [beam] branch master updated: [BEAM-6869] fix dependency checking
Date Mon, 25 Mar 2019 16:17:15 GMT
This is an automated email from the ASF dual-hosted git repository.

chamikara pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 73f09c4  [BEAM-6869] fix dependency checking
     new 2c037fa  Merge pull request #8123: [BEAM-6869] fix dependency checking
73f09c4 is described below

commit 73f09c46315849d961351764ff73737d195e9bc8
Author: Yifan Zou <yifanzou@google.com>
AuthorDate: Fri Mar 22 15:48:09 2019 -0700

    [BEAM-6869] fix dependency checking
---
 .test-infra/jenkins/jira_utils/jira_manager.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.test-infra/jenkins/jira_utils/jira_manager.py b/.test-infra/jenkins/jira_utils/jira_manager.py
index b52f9cb..979ed7c 100644
--- a/.test-infra/jenkins/jira_utils/jira_manager.py
+++ b/.test-infra/jenkins/jira_utils/jira_manager.py
@@ -40,7 +40,7 @@ class JiraManager:
     basic_auth = (jira_username, jira_password)
     self.jira = JiraClient(options, basic_auth, _JIRA_PROJECT_NAME)
     with open(owners_file) as f:
-      owners = yaml.load(f)
+      owners = yaml.load(f, Loader=yaml.BaseLoader)
     self.owners_map = owners['deps']
     logging.getLogger().setLevel(logging.INFO)
 
@@ -238,6 +238,7 @@ class JiraManager:
 
     logging.info("Found owners of {0}: {1}".format(dep_name, owners))
     owners = owners.split(',')
+    owners = map(str, owners)
     owners = map(str.strip, owners)
     owners = list(filter(None, owners))
     return owners


Mime
View raw message