mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 16:58:09 +02:00
See if we can mollify CodeQL
This commit is contained in:
@@ -95,10 +95,10 @@ def copy_libs(env):
|
||||
def add_ca_certs(env):
|
||||
print('Downloading CA certs...')
|
||||
from urllib.request import urlopen
|
||||
certs = urlopen(kitty_constants['cacerts_url']).read()
|
||||
cdata = urlopen(kitty_constants['cacerts_url']).read()
|
||||
dest = os.path.join(env.lib_dir, 'cacert.pem')
|
||||
with open(dest, 'wb') as f:
|
||||
f.write(certs)
|
||||
f.write(cdata)
|
||||
|
||||
|
||||
def copy_python(env):
|
||||
|
||||
Reference in New Issue
Block a user