:: Re: [DNG] About amprolla-3
Startseite
Nachricht löschen
Nachricht beantworten
Autor: aitor_czr
Datum:  
To: dng
Betreff: Re: [DNG] About amprolla-3
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.