#NEWLINE# def get( self , key , default = None ) : #NEWLINE# #INDENT# "Returns the default value if the requested data doesn't exist" #NEWLINE# try : #NEWLINE# #INDENT# val = self [ key ] #NEWLINE# #UNINDENT# except KeyError : #NEWLINE# #INDENT# return default #NEWLINE# #UNINDENT# if ( val == [ ] ) : #NEWLINE# #INDENT# return default #NEWLINE# #UNINDENT# return self