#NEWLINE# def wrap_folder_content_id( self , annotator_id , fid ) : #NEWLINE# #INDENT# prefix = urllib . quote ( self . prefix , safe = '~' ) #NEWLINE# parts = ( [ prefix ] if ( len ( prefix ) > 0 ) else [ ] ) #NEWLINE# parts . extend ( [ 'topic' , urllib . quote ( annotator_id , safe = '~' ) , urllib . quote ( fid , safe = '~' ) ] ) #NEWLINE# return '|' . join ( parts )