#NEWLINE# def transkey( self , keyname ) : #NEWLINE# #INDENT# self . logger . debug ( ( "key name in tk '%s'" % keyname ) ) #NEWLINE# try : #NEWLINE# #INDENT# return self . _keytbl [ keyname . lower ( ) ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# return keyname