File: //proc/self/root/lib/python3.6/site-packages/ipalib/install/__pycache__/certmonger.cpython-36.pyc
3
�d[en � @ s� d dl mZmZ d dlZd dlZd dlZd dlZd dlZd dlZd dl Z d dl
mZ d dlm
Z
d dlmZ d dlmZ d dlmZ d dlmZ eje�Zd Zd
Zd
ZdZdZd
ZdgZG dd� d�Z G dd� de �Z!dd� Z"dd� Z#dd� Z$dd� Z%dd� Z&dd� Z'dd � Z(d!d"� Z)dBd&d'�Z*dCd(d)�Z+dDd*d+�Z,dEd,d-�Z-dFd.d/�Z.dGd0d1�Z/d2d3� Z0d4d5� Z1d6d7� Z2d8d9� Z3dHd;d<�Z4d=d>� Z5dId@dA�Z6dS )J� )�print_function�absolute_importN)�api)�CA_DBUS_TIMEOUT)�DN)�Sleeper)�paths)�servicesz/org/fedorahosted/certmongerzorg.fedorahosted.certmongerz#org.fedorahosted.certmonger.requestzorg.fedorahosted.certmonger.cazorg.freedesktop.DBus.Propertiesztemplate-hostnamec @ s e Zd ZdZddd�ZdS )�_cm_dbus_objectz>
Auxiliary class for convenient DBus object handling.
NFc C s� |dks|dks|dkr t d��|dkr,|}|| _|| _|| _|| _|| _|j||�| _tj | j|�| _
|r|tj | jt�| _dS )aY
bus - DBus bus object, result of dbus.SystemBus() or dbus.SessionBus()
Object is accesible over this DBus bus instance.
object_path - path to requested object on DBus bus
object_dbus_interface
parent_dbus_interface
property_interface - create DBus property interface? True or False
Nz5bus, object_path and dbus_interface must not be None.)
�RuntimeError�bus�parent�pathZobj_dbus_ifZparent_dbus_if�
get_object�obj�dbus� Interface�obj_if�DBUS_PROPERTY_IF�prop_if)�selfr r
Zobject_pathZobject_dbus_interfaceZparent_dbus_interfaceZproperty_interface� r � /usr/lib/python3.6/certmonger.py�__init__V s
z_cm_dbus_object.__init__)NF)�__name__�
__module__�__qualname__�__doc__r r r r r r
R s r
c s<