glibc-all-in-one icon indicating copy to clipboard operation
glibc-all-in-one copied to clipboard

support python3

Open ghost opened this issue 4 years ago • 0 comments

diff --git a/update_list b/update_list index 0551dff..b78f3cb 100755 --- a/update_list +++ b/update_list @@ -9,7 +9,7 @@ old_url = 'http://old-releases.ubuntu.com/ubuntu/pool/main/g/glibc/'

def get_list(url, arch): content = requests.get(url).content

  • return re.findall('libc6_(2.[0-9][0-9]-[0-9]ubuntu[0-9.]*_{}).deb'.format(arch), content)
  • return re.findall('libc6_(2.[0-9][0-9]-[0-9]ubuntu[0-9.]*_{}).deb'.format(arch), content.decode('utf-8'))

Please merge to main branch

ghost avatar Feb 18 '21 13:02 ghost