Return at least one tarball when there are multiple.
This commit is contained in:
parent
3daeee51b5
commit
d282a125b8
1 changed files with 2 additions and 1 deletions
|
@ -94,7 +94,8 @@ class DistCatcher(object):
|
||||||
logging.warning(
|
logging.warning(
|
||||||
"Found multiple tarballs %r in %s.", possible_new, directory
|
"Found multiple tarballs %r in %s.", possible_new, directory
|
||||||
)
|
)
|
||||||
return
|
self.files.extend([entry.path for entry in possible_new])
|
||||||
|
return possible_new[0].name
|
||||||
|
|
||||||
if len(possible_updated) == 1:
|
if len(possible_updated) == 1:
|
||||||
entry = possible_updated[0]
|
entry = possible_updated[0]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue