#NEWLINE# def pop_queue( self , container , obj , q_ts , q_record ) : #NEWLINE# #INDENT# '\n        Issue a delete object request to the container for the misplaced\n        object queue entry.\n\n        :param container: the misplaced objects container\n        :param obj: the name of the misplaced object\n        :param q_ts: the timestamp of the misplaced object\n        :param q_record: the timestamp of the queue entry\n\n        N.B. q_ts will normally be the same time as q_record except when\n        an object was manually re-enqued.\n        ' #NEWLINE# q_path = ( '/%s/%s/%s' % ( MISPLACED_OBJECTS_ACCOUNT , container , obj ) ) #NEWLINE# x_timestamp = slightly_later_timestamp ( max ( q_record , q_ts ) ) #NEWLINE# self . stats_log ( 'pop_queue' , 'remove %r (%f) from the queue (%s)' , container , q_ts , x_timestamp ) #NEWLINE# headers = { #NEWLINE# #INDENT# 'X-Timestamp' : x_timestamp , #NEWLINE# #UNINDENT# } #NEWLINE# direct_delete_container_entry ( self . swift . container_ring , MISPLACED_OBJECTS_ACCOUNT , container , obj , headers = headers )