mirror of
https://github.com/lilydjwg/archrepo2.git
synced 2025-03-10 12:02:43 +00:00
pkgreader: look further for a nice package
This commit is contained in:
parent
2ef72fe1a9
commit
3c26780080
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ def _add_to_dict(d, key, value):
|
||||||
|
|
||||||
def readpkg(file):
|
def readpkg(file):
|
||||||
tar = tarfile.open(file)
|
tar = tarfile.open(file)
|
||||||
for _ in range(3):
|
for _ in range(5):
|
||||||
info = tar.next()
|
info = tar.next()
|
||||||
if info and info.name == '.PKGINFO':
|
if info and info.name == '.PKGINFO':
|
||||||
break
|
break
|
||||||
|
|
Loading…
Add table
Reference in a new issue