Ejemplo n.º 1
0
 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")
Ejemplo n.º 2
0
 def test_init(self):
     actionclient = content_action_client.ContentActionClient()
     actionclient.update()