#NEWLINE# def getAmount( self , key ) : #NEWLINE# #INDENT# 'Will return a billable amount' #NEWLINE# if ( key not in self . amounts ) : #NEWLINE# #INDENT# raise InvalidBillKeyError ( ( '%s is not a valid amount key.' % key ) ) #NEWLINE# #UNINDENT# return self . amounts [ key ]