fixing check on removed files
@@ -69,6 +69,7 @@ def get_changed_files(repo, pr_num):
pull = ghc.get_repo(repo).get_pull(int(pr_num))
filename_list = []
for prfile in pull.get_files():
+ if prfile.status != 'removed':
filename = prfile.filename
filename_list.append(filename)
return filename_list
