Server IP : 15.235.198.142 / Your IP : 216.73.216.190 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/cloudinit/analyze/__pycache__/ |
Upload File : |
� �f � � � d dl Z d dlZd dlmZ d dlmZmZmZ ddddddd d d�ZdZd Z dZ d� Zd� Zd� Z dd�Zd� Zedk( r e e� � yy)� N)�datetime)� atomic_helper�subp�utilzfinished running cloud-initz%starting search for local datasourcesz!searching for network datasourceszrunning config moduleszfinalizing moduleszrunning modules forzrunning single module )�finishedz init-local�init-network�initzmodules-configz modules-final�modules�singlez%Y-%m-%d %H:%M:%S,%fz%b %d %H:%M:%S.%f %Yz%b %d %H:%M:%S %Yc � � t dd� D �cg c] }t j | �� }}| j � d |v rmt }d| v rt }t j | dz t t j � j � z |� }|j d� }t |� S d| v r6t j | t � }|j d� }t |� S t | � }t |� S c c}w )N� � r �.� z%s.%f�,)�range�calendar� month_abbr�split�DEFAULT_FMT�CLOUD_INIT_JOURNALCTL_FMTr �strptime�str�now�year�strftime�CLOUD_INIT_ASCTIME_FMT�parse_timestamp_from_date�float)�timestampstr�m�months�FMT�dt� timestamps �8/usr/lib/python3/dist-packages/cloudinit/analyze/dump.py�parse_timestampr'