parent
0c4db061d4
commit
8b9aa559c8
1 changed files with 1 additions and 1 deletions
|
|
@ -4939,7 +4939,7 @@ def _get_tarball_list(archive_id, tarpath):
|
|||
result = []
|
||||
if not os.path.exists(tarpath):
|
||||
return result
|
||||
with tarfile.open(tarpath, 'rb') as archive:
|
||||
with tarfile.open(tarpath, 'r') as archive:
|
||||
for entry in archive:
|
||||
filename = koji.fixEncoding(entry.name)
|
||||
result.append({'archive_id': archive_id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue