fix linter warnings
This commit is contained in:
parent
0ed6318413
commit
ce94c09de7
|
@ -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():
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue