#NEWLINE# def __getitem__( self , key ) : #NEWLINE# #INDENT# 'Shortcut for accessing config options which are handled as\n        Config class properties\n        ' #NEWLINE# try : #NEWLINE# #INDENT# return self . conf . get ( 'MAIN' , key ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# raise Exception ( ( ( ( 'Config file ' + key . file_name ) + " doesn't contain key " ) + str ( key ) ) )