��Qc@sJddlZddlZyddlZejjjWn eefk
rWd�Zn
Xd�Zej j
ejd�Zej je�s�ej j
ejej j
dd�Zej je�Znej je�rFee�ZdejkrWxceje�D]OZejd�rej j
ee�Zej je�rPeejd<qPqqWnddlZeej�Zdejkr�ej j
ed e�Zej jej j
ed
��r�eejd<q�ndejkrFxceje�D]OZejd�r�j j
ee�Zej je�r<eejd<q<q��qFndS(
i�NcCs|S(N((ts((s"/sys/lib/python2.7/lib-tk/FixTk.pytconvert_pathscCs�|jd�}tjjj|dddddd�}|dkrF|Stjdd�}tjjj||t|�d �}tjjj |�|d kr�|S|| j
d�}|jd
�r�|d}n|jd�r�
|d}n|S(Ntmbcsi�iiii�ui�is\\?\itUNCs\(tdecodetctypestwindlltkernel32tCreateFileWtNonetcreate_unicode_buffertGetFinalPathNameByHandleWtlentCloseHandletencodet
startswith(Rtudirthdirtbuftres((s"/sys/lib/python2.7/lib-tk/FixTk.pyRs,
ttclttcltktlibtTCL_LIBRARYt
TK_LIBRARYttkttclIndextTIX_LIBRARYttix(tsystosRRRRtImportErrortAttributeErrorRtpathtjointprefixtexiststpardirtabspathtenvirontlistdirtnameRttcldirtisdirt_tkintertstrtTCL_VERSIONtvertvttixdir(((s"/sys/lib/python2.7/lib-tk/FixTk.pyt<module>s<
$!
|