fix linter warnings

This commit is contained in:
Eric Le Lay 2020-05-13 08:44:24 +02:00
parent 0ed6318413
commit ce94c09de7
2 changed files with 4 additions and 4 deletions

View File

@ -99,7 +99,7 @@ def get_contributors(tag, previous_tag):
"""
cmp = repo.compare_commits(previous_tag, tag)
logins = [c.author.login for c in cmp.commits if c.author] + [c.committer.login for c in cmp.commits]
return sorted(set("@{}".format(l) for l in logins))
return sorted(set("@{}".format(n) for n in logins))
def get_previous_tag():

View File

@ -131,9 +131,9 @@ def main(argv):
if "--delete" in argv[1:]:
while libs:
for l in libs:
print("DELETE:", l)
os.unlink(l)
for lib in libs:
print("DELETE:", lib)
os.unlink(lib)
libs = get_things_to_delete(sys.prefix)