예제 #1
0
파일: db.py 프로젝트: brentonchang/crits-1
    def reset_all(self):
        """
        Recreate the services collection.
        """

        logger.debug("Dropping service collection")
        CRITsService.drop_collection()
        self._instantiate_collection()
        self._update_status_all()
예제 #2
0
    def reset_all(self):
        """
        Recreate the services collection.
        """

        logger.debug("Dropping service collection")
        CRITsService.drop_collection()
        self._instantiate_collection()
        self._update_status_all()