%PDF- %PDF-
Direktori : /lib/python3/dist-packages/samba/netcmd/domain/__pycache__/ |
Current File : //lib/python3/dist-packages/samba/netcmd/domain/__pycache__/classicupgrade.cpython-312.pyc |
� �I�d� � � � d dl Z d dlZd dlZd dlZd dlmZ d dlmZ d dl m Z d dlmZ d dl mZmZmZ d dlmZ d dlmZ d dlmZ d d lmZ d� Z G d� d e� Zy)� N)�system_session)�system_session_unix)� get_string)�Command�CommandError�Option)�Samba3)�param)�upgrade_from_samba3� )�common_ntvfs_optionsc �8 � t t j d� }t j | ddd|z |gt j |�� }|j � \ }}|j � |j d� }|rt |d � j � S y) N�wz-sz-lz--parameter-name=%s)�stdout�stderr� r � )�open�os�devnull� subprocess�Popen�PIPE�communicate�close�splitr �strip)�testparm�smbconf�varname�errfile�p�out�err�liness �D/usr/lib/python3/dist-packages/samba/netcmd/domain/classicupgrade.py�get_testparm_varr'