:: Re: [DNG] About amprolla-3
Top Page
Delete this message
Reply to this message
Author: aitor_czr
Date:  
To: dng
Subject: 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.