with os.fdopen(fd, 'w') as pem_file:
pem_file.write(pem)
# Now go check the config file to see if this file is already there.
found = False
last_pem_line = None
with os.fdopen(fd, 'w') as pem_file:
pem_file.write(pem)
# Now go check the config file to see if this file is already there.
found = False
last_pem_line = None