def _open_pem_file(cli_arg_path, pem_path):
 if cli.set_by_cli(cli_arg_path):
  return (util.safe_open(pem_path, chmod=420, mode='wb'), os.path.abspath(pem_path))
 else:
  uniq = util.unique_file(pem_path, 420, 'wb')
  return (uniq[0], os.path.abspath(uniq[1]))

def _open_pem_file ( cli_arg_path , pem_path ) : if cli . set_by_cli ( cli_arg_path ) : return ( util . safe_open ( pem_path , chmod = 420 , mode = 'wb' ) , os . path . abspath ( pem_path ) ) else : uniq = util . unique_file ( pem_path , 420 , 'wb' ) return ( uniq [ 0 ] , os . path . abspath ( uniq [ 1 ] ) )
open a pem file .