Corretta sintassi per selezionare solo deb.
This commit is contained in:
parent
425adb5545
commit
5bb8207409
@ -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]
|
||||
|
||||
|
Reference in New Issue
Block a user