handle empty repo

This commit is contained in:
Bin Yang
2021-10-26 01:02:28 -04:00
parent 0d308bd964
commit cc162caf46
2 changed files with 24 additions and 19 deletions
+1
View File
@@ -12,6 +12,7 @@ from git_util import get_github_client, get_repo_attributes_dict
def convert_repo_list_to_df(repo_list, category):
df_list = []
for repo in repo_list:
print(repo)
attr_dict = get_repo_attributes_dict(repo)
attr_dict['name'] = repo.name
attr_dict['comment'] = 'NEW'