#NEWLINE# def addItem( self , date , item ) : #NEWLINE# #INDENT# if ( not self . data . has_key ( date ) ) : #NEWLINE# #INDENT# self . data [ date ] = [ ] #NEWLINE# #UNINDENT# self . data [ date ] . append ( item )