| Server IP : 216.238.111.58 / Your IP : 216.73.217.34 Web Server : LiteSpeed System : Linux hosting.smartskills.com.br 4.18.0-553.120.1.el8_10.x86_64 #1 SMP Mon Apr 20 18:04:27 EDT 2026 x86_64 User : skillsitcom ( 1002) PHP Version : 8.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/ |
Upload File : |
3
x?ag�
� @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZmZ ddl Z
ddlZddlZddl
Z
ddlZG dd � d e�ZdS )
z�
Utils - miscellaneous utilities for the VDO manager
$Id: //eng/vdo-releases/aluminum/src/python/vdo/vdomgmnt/Utils.py#2 $
� )�absolute_import)�division)�print_function)�unicode_literals)�CommandError�
runCommandNc @ s� e Zd ZdZdZde Zde Zde Zde Ze dd� �Z
e dd� �Ze dd� �Ze
d d
� �Ze dd� �Ze d
d� �Zdd� ZdS )�Utilsz'Utils contains miscellaneous utilities.i c C s t jjdd� | jt j�D ��S )zTakes a path or a colon-separated list of paths and makes
each one an absolute path. Paths that don't exist are left alone.c S s g | ]}t jj|��qS � )�os�path�abspath)�.0�pr r �/usr/lib/python3.6/Utils.py�
<listcomp>5 s z%Utils.abspathPath.<locals>.<listcomp>)r
�pathsep�join�split)r r r r �abspathPath1 s zUtils.abspathPathc C s t jd t j| 7 <