509318396
Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­Â�Â­
<!DOCTYPE html>
<html>
3
>‹\¾  ã               @   s,   d dl Z d dlZdd„ Zdd„ Zdd„ ZdS )é    Nc             C   s0   | j ƒ  tjjd| ƒ tjjƒ  tjdƒ d S )Nz
%s
é   )Z
print_helpÚsysÚstderrÚwriteÚflushÚexit)ÚparserÚmsg© r
   ú!/usr/lib/python3.6/communicate.pyÚusage   s    
r   c             C   s6   yt ttjtj| ƒƒd ƒS  tk
r0   | gS X d S )NÚtypes)ÚlistÚnextÚsepolicyÚinfoZ	ATTRIBUTEÚStopIteration)Z	attributer
   r
   r   Úexpand_attribute"   s    r   c                sv   t jt jgt j| t j|t jˆ iƒ}|s<td| djˆ ƒf ƒ‚g }x0tdd„ t	‡ fdd„|ƒƒD ]}|t
|ƒ }q^W |S )Nz*The %s type is not allowed to %s any typesú,c             S   s
   | t j S )N)r   ZTARGET)Úyr
   r
   r   Ú<lambda>/   s    zget_types.<locals>.<lambda>c                s   t ˆ ƒj| tj ƒS )N)ÚsetÚissubsetr   ÚPERMS)Úx)Úpermr
   r   r   /   s    )r   ÚsearchZALLOWZSOURCEZCLASSr   Ú
ValueErrorÚjoinÚmapÚfilterr   )ÚsrcZtclassr   ZallowsZtlistÚlr
   )r   r   Ú	get_types)   s    ""r#   )r   r   r   r   r#   r
   r
   r
   r   Ú<module>   s   