def repo_hook(self): """Update content repos.""" log.debug("entcerlibaction.repo_hook") try: # NOTE: this may need a lock content_action = content_action_client.ContentActionClient() content_action.update() except Exception, e: log.debug(e) log.debug("Failed to update repos")
def test_init(self): actionclient = content_action_client.ContentActionClient() actionclient.update()