:: Re: [DNG] About amprolla-3
Página Inicial
Delete this message
Reply to this message
Autor: aitor_czr
Data:  
Para: dng
Assunto: 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.