1
0

Corretta sintassi per selezionare solo deb.

This commit is contained in:
Emiliano Vavassori 2022-03-26 01:35:06 +01:00
parent 425adb5545
commit 5bb8207409

View File

@ -96,7 +96,7 @@ class Build(object):
continue
contents = etree.HTML(urllib.request.urlopen(self.url[arch]).read()).xpath("//td/a")
self.tarballs[arch] = [ x.text for x in contents if x.text.endswith('tar.gz' and 'deb' in x.text) ]
self.tarballs[arch] = [ x.text for x in contents if x.text.endswith('tar.gz') and 'deb' in x.text ]
tarballs = self.tarballs[arch]
maintarball = tarballs[0]