o
    Uh{                     @   s.   d dl Z d dlZddlmZ dZdddZdS )	    N   )ShellDetectionFailurez1.5.4
   c                 C   s   t j}ztd|t}W n ty   d|}t|w z|j}W n t	y2   td|w || |d}|r=|S t
 )Nz.{}z)Shell detection not implemented for {0!r}z#get_shell not implemented for {0!r})	max_depth)osname	importlibimport_moduleformat__name__ImportErrorRuntimeError	get_shellAttributeErrorr   )pidr   r   implmessager   shell r   h/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/shellingham/__init__.pydetect_shell	   s    

r   )Nr   )r   r   _corer   __version__r   r   r   r   r   <module>   s
    