Current Dir: /snap/core22/2955/usr/lib/python3/dist-packages/cloudinit/__pycache__/
[FILE] apport.cpython-310.pyc [ edit | delete | rename ]
[FILE] atomic_helper.cpython-310.pyc [ edit | delete | rename ]
[FILE] cloud.cpython-310.pyc [ edit | delete | rename ]
[FILE] dmi.cpython-310.pyc [ edit | delete | rename ]
[FILE] event.cpython-310.pyc [ edit | delete | rename ]
[FILE] features.cpython-310.pyc [ edit | delete | rename ]
[FILE] gpg.cpython-310.pyc [ edit | delete | rename ]
[FILE] helpers.cpython-310.pyc [ edit | delete | rename ]
[FILE] importer.cpython-310.pyc [ edit | delete | rename ]
[FILE] lifecycle.cpython-310.pyc [ edit | delete | rename ]
[FILE] netinfo.cpython-310.pyc [ edit | delete | rename ]
[FILE] performance.cpython-310.pyc [ edit | delete | rename ]
[FILE] persistence.cpython-310.pyc [ edit | delete | rename ]
[FILE] registry.cpython-310.pyc [ edit | delete | rename ]
[FILE] safeyaml.cpython-310.pyc [ edit | delete | rename ]
[FILE] settings.cpython-310.pyc [ edit | delete | rename ]
[FILE] signal_handler.cpython-310.pyc [ edit | delete | rename ]
[FILE] simpletable.cpython-310.pyc [ edit | delete | rename ]
[FILE] socket.cpython-310.pyc [ edit | delete | rename ]
[FILE] ssh_util.cpython-310.pyc [ edit | delete | rename ]
[FILE] stages.cpython-310.pyc [ edit | delete | rename ]
[FILE] subp.cpython-310.pyc [ edit | delete | rename ]
[FILE] templater.cpython-310.pyc [ edit | delete | rename ]
[FILE] temp_utils.cpython-310.pyc [ edit | delete | rename ]
[FILE] type_utils.cpython-310.pyc [ edit | delete | rename ]
[FILE] url_helper.cpython-310.pyc [ edit | delete | rename ]
[FILE] user_data.cpython-310.pyc [ edit | delete | rename ]
[FILE] util.cpython-310.pyc [ edit | delete | rename ]
[FILE] version.cpython-310.pyc [ edit | delete | rename ]
[FILE] warnings.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]
Viewing: /snap/core22/2955/usr/lib/python3/dist-packages/cloudinit/__pycache__/atomic_helper.cpython-310.pyc
o
��i, � @ s� d dl Z d dlZd dlZd dlZd dlZd dlmZmZ d dlm Z m
Z
dZe�e
�Ze �d�dd� �Ze �d�d d
� �Zeddfd
d�Zeddfdd�Zdd� Ze �d�dd� �Zefdd�ZdS )� N)� b64decode� b64encode)�performance�utili� zBase64 decodingc C s, t | �}z|�d�W S ty | Y S w )z�base64 decode data
:param source: a bytes or str to decode
:return: base64 as a decoded str if utf-8 encoded, otherwise bytes
�utf-8)r �decode�UnicodeDecodeError)�source�decoded� r �9/usr/lib/python3/dist-packages/cloudinit/atomic_helper.py�b64d s �r
zBase64 encodingc C s"