Your IP : 3.139.239.25


Current Path : /lib64/python3.6/site-packages/gpg/__pycache__/
Upload File :
Current File : //lib64/python3.6/site-packages/gpg/__pycache__/callbacks.cpython-36.pyc

3

좃[��@sFddlmZmZmZddlmZ[[[d
dd�Zddd�Zdd	�ZdS)�)�absolute_import�print_function�unicode_literals)�getpassNcCs6d}|dk	rd|}|r |d7}td||f�t�S)z�This is a sample callback that will read a passphrase from
    the terminal.  The hook here, if present, will be used to describe
    why the passphrase is needed.�N� z (again)zPlease supply %s' password%s:)�printr)ZhintZdescZprev_bad�hookZwhy�r
�!/usr/lib64/python3.6/callbacks.py�passphrase_stdinsrcCstd||||f�dS)Nz?PROGRESS UPDATE: what = %s, type = %d, current = %d, total = %d)r)Zwhat�typeZcurrentZtotalr	r
r
r�progress_stdout&srcCs0|r|j|�St|d�sdS|jdd�dSdS)z?A callback for data.  hook should be a Python file-like object.�seekNr)�read�hasattrr)�countr	r
r
r�	readcb_fh+s

r)N)N)Z
__future__rrrrrrrr
r
r
r�<module>s




?>