Skip to content

Commit

Permalink
changed the print on line 49 to print the length of the pkgs array
Browse files Browse the repository at this point in the history
  • Loading branch information
faha223 committed Feb 26, 2024
1 parent c142113 commit 2a5dc41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/download-macos-libs.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def get_latest_pkg_filename_url(self, pkg_name):
pkg_list = urlopen(pkg_base_url).read().decode('utf-8')
print(' [*] [DEBUG] url opened')
pkgs = re.findall(pkg_name + r'[\w\.\-\_\+]*?\.' + self._darwin_target + r'\.' + self._arch + r'\.tbz2', pkg_list)
print(' [*] [DEBUG] pkgs retrieved')
print(f' [*] [DEBUG] len(pkgs) {len(pkgs)}')
pkg_filename = pkgs[-1]
print(' [*] [DEBUG] returning pkg_filename, pkg_url')
return pkg_filename, f'{pkg_base_url}/{pkg_filename}'
Expand Down

0 comments on commit 2a5dc41

Please sign in to comment.