Your IP : 216.73.216.213
B
�'�\� � @ s` d Z ddlmZmZ ddgZG dd� de�ZG dd� de�ZG dd � d e�ZG d
d� de�Z dS )zM
L{twisted.python.fakepwd} provides a fake implementation of the L{pwd} API.
� )�absolute_import�division�UserDatabase�ShadowDatabasec @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �_UserRecordz�
L{_UserRecord} holds the user data for a single user in L{UserDatabase}.
It corresponds to L{pwd.struct_passwd}. See that class for attribute
documentation.
c C s. || _ || _|| _|| _|| _|| _|| _d S )N)�pw_name� pw_passwd�pw_uid�pw_gid�pw_gecos�pw_dir�pw_shell)�self�name�password�uid�gid�gecos�home�shell� r �I/opt/alt/python37/lib64/python3.7/site-packages/twisted/python/fakepwd.py�__init__ s z_UserRecord.__init__c C s dS )N� r )r r r r �__len__ s z_UserRecord.__len__c C s$ | j | j| j| j| j| j| jf| S )N)r r r r
r r r
)r �indexr r r �__getitem__"