o
    b                     @   s   d Z dd ZdS )zc
Parsing for the moduli file, which contains Diffie-Hellman prime groups.

Maintainer: Paul Swartz
c                 C   s   t | }| }W d    n1 sw   Y  i }|D ]:}| }|r*|d dkr+q| \}}}}}	}
}t|	d }	t|
}
t|d}|	|vrMg ||	< ||	 |
|f q|S )N    #      )open	readlinesstripsplitintappend)filenameflinesprimesltimtyptsttrisizegenmod r   E/usr/lib/python3/dist-packages/twisted/conch/openssh_compat/primes.pyparseModuliFile   s    


r   N)__doc__r   r   r   r   r   <module>   s   