#NEWLINE# def get_tasks( self ) : #NEWLINE# #INDENT# ' Returns the IDs of the tasks in the layout.\n        ' #NEWLINE# return [ ( item if isinstance ( item , basestring ) else self . id ) for item in self . items ]