fix sort(l) vs l.sort() typo
This commit is contained in:
parent
242e143b97
commit
9b3cf26dc2
1 changed files with 1 additions and 2 deletions
|
|
@ -559,8 +559,7 @@ class TrackedBuild(object):
|
|||
base.append(name)
|
||||
if len(tags) > 1:
|
||||
log("Warning: found multiple buildroot tags for %s: %s" % (self.nvr, to_list(tags.keys())))
|
||||
counts = [(n, tag) for tag, n in six.iteritems(tags)]
|
||||
sort(counts)
|
||||
counts = sorted([(n, tag) for tag, n in six.iteritems(tags)])
|
||||
tag = counts[-1][1]
|
||||
else:
|
||||
tag = to_list(tags.keys())[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue