3 \�me�. � @ s d dl Z d dlZd dlZd dlZd dlmZmZ d dlmZ dddddd d ddd dd�Z dj dd� e j� D ��ZdZ dZdZed:d;d<fZdd� Zdd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� ZG d*d+� d+�Zd,d-� Zd.d/� Zd0d1� Zd=d4d5�Zd6d7� Z d8d9� Z!dS )>� N)�subp�util)�uses_systemd�delta�description�elapsed� event_type�indent�level�name�origin�result� timestamp� total_time)z%dz%Dz%Ez%ez%Iz%lz%nz%oz%rz%tz%T� c C s$ g | ]\}}d j |jdd�|��qS )z{0}: {1}�%z%%)�format�replace)�.0�k�v� r �/usr/lib/python3.6/show.py� <listcomp>1 s r Z successful�failureZ container� c C sT xFt j� D ]:\}}|| kr |dkr4| j|d| �} q | j|d| �} q W | jf |�S )Nr r r z {%s:08.5f}z{%s})r r r )� format_key�itemsr r )�msg�event�i�jr r r � format_record9 s r"