Your IP : 18.224.43.98
�
e f� � @ s^ d d l Z d d l Td d l j Z Gd d � d � Z d d � Z e d k rZ e � n d S)� N)�*c @ s� e Z d Z d d l m Z d d � Z d d d � Z d d d � Z d d
d � Z d d
� Z d d � Z
d d � Z d d � Z d S)�FileListr )�EditorWindowc C s( | | _ i | _ i | _ i | _ d S)N)�root�dict�inversedict�vars)�selfr � r
�5/opt/alt/python34/lib64/python3.4/idlelib/FileList.py�__init__ s zFileList.__init__Nc C s� | j | � } t j j | � rE t j d d | f d | j �d St j j | � } | | j k r� | j | } | j j
� | S| r� | | � S| j | | | � } | j r� | S| j
� d Sd S)Nz
File Errorz%r is a directory.�master)�canonize�os�path�isdir�tkMessageBox� showerrorr �normcaser �top�wakeupr Z good_loadZ_close)r �filename�action�key�editr
r
r �open s&