Edit File: function_cpulist_unpack.cpython-36.pyc
3 �<�e� � @ sH d dl Z d dlZddlmZ d dlmZ ejj� Z G dd� dej �ZdS )� N� )�base)�commandsc s, e Zd ZdZ� fdd�Z� fdd�Z� ZS )�cpulist_unpackzB Conversion function: unpacks CPU list in form 1-3,4 to 1,2,3,4 c s t t| �jdd� d S )Nr r )�superr �__init__)�self)� __class__� �-/usr/lib/python3.6/function_cpulist_unpack.pyr s zcpulist_unpack.__init__c s6 t t| �j|�sd S djdd� | jjdj|��D ��S )N�,c s s | ]}t |�V qd S )N)�str)�.0�vr r r � <genexpr> s z)cpulist_unpack.execute.<locals>.<genexpr>z,,)r r �execute�joinZ_cmd)r �args)r r r r s zcpulist_unpack.execute)�__name__� __module__�__qualname__�__doc__r r � __classcell__r r )r r r s r )�osZ tuned.logsZtuned� r Ztuned.utils.commandsr Zlogs�get�logZFunctionr r r r r �<module> s
Back to File Manager