File: //lib/python3/dist-packages/sos/report/plugins/__pycache__/unpackaged.cpython-310.pyc
o
���b� � @ sB d dl mZmZ d dlZd dlZd dlmZ G dd� dee�ZdS )� )�Plugin�RedHatPluginN)�Pathc @ s e Zd ZdZdZdd� ZdS )�
UnpackagedzDCollects a list of files that are not handled by the package manager�
unpackagedc s� dd� }d�fdd� }�fdd�}�j dd�sd S |� �g }t�fd d
��j��jj�� �D ��� �D ]}|||�7 }q3� fdd�|D �}||�}�jd
�|�ddd� d S )Nc S s t jd �d�S )z3Return a list of directories in $PATH.
�PATH�:)�os�environ�split� r r �?/usr/lib/python3/dist-packages/sos/report/plugins/unpackaged.py�get_env_path_list s z+Unpackaged.setup.<locals>.get_env_path_listc
s� g }t j| dd�D ]Z\}}}|r"|D ]� � fdd�|D �|dd�<