parameters: (self)
docstring: Truncates bucket file.
docstring_summary: Truncates bucket file.
docstring_tokens: Truncates bucket file .
function: def clear(self):
          '''
          Truncates bucket file.
          '''
          log.debug("Clear bucket: group_id: {0}, bucket: {1}".format(self.group_id, self.bucket_file.name))
          self.bucket_file.seek(0)
          self.bucket_file.truncate()
function_tokens: def clear ( self ) : log . debug ( "Clear bucket: group_id: {0}, bucket: {1}" . format ( self . group_id , self . bucket_file . name ) ) self . bucket_file . seek ( 0 ) self . bucket_file . truncate ( )