I rectify:
On 02/07/20 10:42, aitor_czr wrote:
(Note the missing '/' symbol at the begining of the string) and the
code above will stay this way:
if k.endswith('/binary-armhf/Packages.gz'):
for a in arches:
for c in categories:
if a in k and ("/%s/" % c) in k:
urls = (join(url[0], k), join(url[1], k))
tpl.append(urls)
if k.endswith('/binary-armhf/Packages.gz'):
for a in arches:
for c in categories:
if a in k and ("%s/" % c) in k:
urls = (join(url[0], k), join(url[1], k))
tpl.append(urls)
Aitor.
_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng