@@ -178,13 +178,16 @@ def populate(issue_type, components):
178178 author_info [author ][issue_type ].add (component )
179179 # Find issues and components associated with this commit
180180 for issue in issues :
181- jira_issue = jira_client .issue (issue )
182- jira_type = jira_issue .fields .issuetype .name
183- jira_type = translate_issue_type (jira_type , issue , warnings )
184- jira_components = [translate_component (c .name , _hash , warnings )\
185- for c in jira_issue .fields .components ]
186- all_components = set (jira_components + commit_components )
187- populate (jira_type , all_components )
181+ try :
182+ jira_issue = jira_client .issue (issue )
183+ jira_type = jira_issue .fields .issuetype .name
184+ jira_type = translate_issue_type (jira_type , issue , warnings )
185+ jira_components = [translate_component (c .name , _hash , warnings )\
186+ for c in jira_issue .fields .components ]
187+ all_components = set (jira_components + commit_components )
188+ populate (jira_type , all_components )
189+ except Exception as e :
190+ print "Unexpected error:" , e
188191 # For docs without an associated JIRA, manually add it ourselves
189192 if is_docs (title ) and not issues :
190193 populate ("documentation" , commit_components )
@@ -223,7 +226,8 @@ def populate(issue_type, components):
223226 # E.g. andrewor14/SPARK-3425/SPARK-1157/SPARK-6672
224227 if author in invalid_authors and invalid_authors [author ]:
225228 author = author + "/" + "/" .join (invalid_authors [author ])
226- line = " * %s -- %s" % (author , contribution )
229+ #line = " * %s -- %s" % (author, contribution)
230+ line = author
227231 contributors_file .write (line + "\n " )
228232contributors_file .close ()
229233print "Contributors list is successfully written to %s!" % contributors_file_name
0 commit comments