Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)

src/c/o/CollabQ-HEAD/api/views.py   CollabQ(Download)
 
  try:
    rv = api.task_process_any(api.ROOT)
    if rv:
      return http.HttpResponseRedirect(request.get_full_path())

src/j/a/JaikuEngine-HEAD/api/views.py   JaikuEngine(Download)
 
  try:
    rv = api.task_process_any(api.ROOT)
    if rv:
      return http.HttpResponseRedirect(request.get_full_path())

src/j/a/jaikuenginepatch-HEAD/api/views.py   jaikuenginepatch(Download)
 
  try:
    rv = api.task_process_any(api.ROOT)
    if rv:
      return http.HttpResponseRedirect(request.get_full_path())

src/c/o/CollabQ-HEAD/common/test/queue.py   CollabQ(Download)
      # and run out the queue
      for i in range(5):
        api.task_process_any(api.ROOT, nick)
 
      self.assertRaises(exception.ApiNoTasks,

src/j/a/JaikuEngine-HEAD/common/test/queue.py   JaikuEngine(Download)
      # and run out the queue
      for i in range(5):
        api.task_process_any(api.ROOT, nick)
 
      self.assertRaises(exception.ApiNoTasks,

src/j/a/jaikuenginepatch-HEAD/common/test/queue.py   jaikuenginepatch(Download)
      # and run out the queue
      for i in range(5):
        api.task_process_any(api.ROOT, nick)
 
      self.assertRaises(exception.ApiNoTasks,

src/c/o/CollabQ-HEAD/common/test/util.py   CollabQ(Download)
def exhaust_queue_any():
  for i in xrange(1000):
    try:
      api.task_process_any(api.ROOT)
    except exception.ApiNoTasks:

src/j/a/JaikuEngine-HEAD/common/test/util.py   JaikuEngine(Download)
def exhaust_queue_any():
  for i in xrange(1000):
    try:
      api.task_process_any(api.ROOT)
    except exception.ApiNoTasks:

src/j/a/jaikuenginepatch-HEAD/common/test/util.py   jaikuenginepatch(Download)
def exhaust_queue_any():
  for i in xrange(1000):
    try:
      api.task_process_any(api.ROOT)
    except exception.ApiNoTasks: