:: Re: [DNG] About amprolla-3
Kezdőlap
Delete this message
Reply to this message
Szerző: aitor_czr
Dátum:  
Címzett: dng
Tárgy: 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.