File: //usr/lib64/python3.6/__pycache__/getpass.cpython-36.pyc
3
  \j  �               @   s�   d Z ddlZddlZddlZddlZddlZdddgZG dd� de�Zddd	�Z	dd
d�Z
ddd
�Zddd�Zdd� Z
yddlZejejf W nB eefk
r�   yddlZW n ek
r�   eZY nX e
ZY nX e	ZdS )a�  Utilities to get a password and/or the current user name.
getpass(prompt[, stream]) - Prompt for a password, with echo turned off.
getuser() - Get the user name from the environment or password database.
GetPassWarning - This UserWarning is issued when getpass() cannot prevent
                 echoing of the password contents while reading.
On Windows, the msvcrt module will be used.
�    N�getpass�getuser�GetPassWarningc               @   s   e Zd ZdS )r   N)�__name__�
__module__�__qualname__� r   r   �/usr/lib64/python3.6/getpass.pyr      s    �
Password: c          .   C   s�  d}t j� ���}yJtjdtjtjB �}tj|d�}|j|� tj	|�}|j|� |sX|}W np t
k
r� } zT|j�  ytj
j� }W n& ttfk
r�   d}t| |�}Y nX tj
}|s�tj}W Y dd}~X nX |dk	�r�y�tj|�}|dd� }	|	d  tj M  <