#NEWLINE# def __str__( self ) : #NEWLINE# #INDENT# s = [ 'Data metadata:' ] #NEWLINE# for name in ( 'name' , 'directory' , 'timestamp' ) : #NEWLINE# #INDENT# s . append ( ( '%14.14s: %s' % ( self , self . get ( name ) ) ) ) #NEWLINE# #UNINDENT# for ( name , value ) in self . _get_states ( ) : #NEWLINE# #INDENT# s . append ( ( '%14.14s: %s' % ( name , value ) ) ) #NEWLINE# #UNINDENT# return '\n    ' . join ( s )