#NEWLINE# def get_attributes( attribs ) : #NEWLINE# #INDENT# attributes = [ ] #NEWLINE# if ( attributes & 1 ) : #NEWLINE# #INDENT# attributes . append ( 'Read-only file' ) #NEWLINE# #UNINDENT# if ( attribs & 2 ) : #NEWLINE# #INDENT# attributes . append ( 'Hidden file' ) #NEWLINE# #UNINDENT# if ( attribs & 4 ) : #NEWLINE# #INDENT# attributes . append ( 'System file' ) #NEWLINE# #UNINDENT# if ( attribs & 32 ) : #NEWLINE# #INDENT# attributes . append ( 'Modified since last backup' ) #NEWLINE# #UNINDENT# if ( attribs & 64 ) : #NEWLINE# #INDENT# attributes . append ( 'Run after extraction' ) #NEWLINE# #UNINDENT# if ( attribs & 128 ) : #NEWLINE# #INDENT# attributes . append ( 'Name contains UTF' ) #NEWLINE# #UNINDENT# return attributes