parameters: (old_config)
docstring: Copies old_config, inserts the copy, and then deletes the old CRITsConfig
  
      This allows a document to "refresh" or explicitly write the config fields to
      the database -- this is due to the fact that variables are not written to
      the database unless a "dirty"/"changed" is set for fields. This is done
      for performance reasons. This could result in missing fields from the
      database, even though defaults specified by the document in Python is
      correct.
  
      Args:
          crits_config: The CRITsConfig to copy, insert and delete
docstring_summary: Copies old_config, inserts the copy, and then deletes the old CRITsConfig
docstring_tokens: Copies old_config inserts the copy and then deletes the old CRITsConfig
function: def reinsert_config(old_config):
      """
      Copies old_config, inserts the copy, and then deletes the old CRITsConfig
  
      This allows a document to "refresh" or explicitly write the config fields to
      the database -- this is due to the fact that variables are not written to
      the database unless a "dirty"/"changed" is set for fields. This is done
      for performance reasons. This could result in missing fields from the
      database, even though defaults specified by the document in Python is
      correct.
  
      Args:
          crits_config: The CRITsConfig to copy, insert and delete
      """
  
      new_config = copy.deepcopy(old_config)
      new_config.id = None
      new_config.save()
      old_config.delete()
function_tokens: def reinsert_config ( old_config ) : new_config = copy . deepcopy ( old_config ) new_config . id = None new_config . save ( ) old_config . delete ( )