ó
†ßw>c           @   s/   d  d l  Z  d  d l Z d d d „  ƒ  YZ d S(   iÿÿÿÿNt   CGIc           B   s,   e  Z d  „  Z d „  Z d „  Z d „  Z RS(   c         C   sS   t  j |  j d ƒ t  j ƒ  ƒ |  _ t  j |  j |  j d ƒ ƒ |  _ |  j ƒ  d  S(   Nt   definitionStoret   configurationStore(   t   IWantOptionst   OptionConfigt   getFilet   OptionWrappert   configt   FileBackedContextt   contextt   run(   t   self(    (    s]   /home/leonardr/public_html/software/PyCon2003/examples/example2-configurationInterface/CGI.pyt   __init__   s
    c         C   s   t  j j t  j ƒ  | ƒ S(   s4   Returns the path to a file in the current directory.(   t   ost   patht   joint   getcwd(   R   t   file(    (    s]   /home/leonardr/public_html/software/PyCon2003/examples/example2-configurationInterface/CGI.pyR      s    c         C   s   |  j  j | |  j ƒ S(   s'   Returns a value from the configuration.(   R   t   getOptionValueR	   (   R   t   key(    (    s]   /home/leonardr/public_html/software/PyCon2003/examples/example2-configurationInterface/CGI.pyt   __getitem__   s    c         C   s   d S(   s   Hook method.N(    (   R   (    (    s]   /home/leonardr/public_html/software/PyCon2003/examples/example2-configurationInterface/CGI.pyR
      s    (   t   __name__t
   __module__R   R   R   R
   (    (    (    s]   /home/leonardr/public_html/software/PyCon2003/examples/example2-configurationInterface/CGI.pyR    
   s   			(    (   R   R   R    (    (    (    s]   /home/leonardr/public_html/software/PyCon2003/examples/example2-configurationInterface/CGI.pyt   <module>   s   