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

All Samples(12)  |  Call(12)  |  Derive(0)  |  Import(0)
Mark task as being retries. Stores the current
exception (if any).

src/s/o/socorro-HEAD/webapp-django/vendor/lib/python/celery/tests/test_backends/test_database.py   socorro(Download)
            import traceback
            trace = "\n".join(traceback.format_stack())
            tb.mark_as_retry(tid, exception, traceback=trace)
        self.assertEqual(tb.get_status(tid), states.RETRY)
        self.assertIsInstance(tb.get_result(tid), KeyError)

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/celery/tests/backends/test_database.py   antisocial(Download)
            import traceback
            trace = '\n'.join(traceback.format_stack())
            tb.mark_as_retry(tid, exception, traceback=trace)
            self.assertEqual(tb.get_status(tid), states.RETRY)
            self.assertIsInstance(tb.get_result(tid), KeyError)

src/o/h/oh-mainline-HEAD/vendor/packages/celery/celery/tests/test_backends/test_database.py   oh-mainline(Download)
            import traceback
            trace = "\n".join(traceback.format_stack())
        tb.mark_as_retry(tid, exception, traceback=trace)
        self.assertEqual(tb.get_status(tid), states.RETRY)
        self.assertIsInstance(tb.get_result(tid), KeyError)

src/m/o/mozillians-HEAD/vendor-local/lib/python/celery/tests/test_backends/test_database.py   mozillians(Download)
            import traceback
            trace = "\n".join(traceback.format_stack())
            tb.mark_as_retry(tid, exception, traceback=trace)
        self.assertEqual(tb.get_status(tid), states.RETRY)
        self.assertIsInstance(tb.get_result(tid), KeyError)

src/f/i/firefox-flicks-HEAD/vendor-local/lib/python/celery/tests/backends/test_database.py   firefox-flicks(Download)
            import traceback
            trace = '\n'.join(traceback.format_stack())
            tb.mark_as_retry(tid, exception, traceback=trace)
            self.assertEqual(tb.get_status(tid), states.RETRY)
            self.assertIsInstance(tb.get_result(tid), KeyError)

src/m/a/make.mozilla.org-HEAD/vendor-local/lib/python/celery/tests/test_backends/test_database.py   make.mozilla.org(Download)
            import traceback
            trace = "\n".join(traceback.format_stack())
            tb.mark_as_retry(tid, exception, traceback=trace)
        self.assertEqual(tb.get_status(tid), states.RETRY)
        self.assertIsInstance(tb.get_result(tid), KeyError)

src/p/l/playdoh-lib-HEAD/lib/python/celery/tests/test_backends/test_database.py   playdoh-lib(Download)
            import traceback
            trace = "\n".join(traceback.format_stack())
            tb.mark_as_retry(tid, exception, traceback=trace)
        self.assertEqual(tb.get_status(tid), states.RETRY)
        self.assertIsInstance(tb.get_result(tid), KeyError)

src/k/u/kuma-lib-HEAD/packages/celery/celery/tests/test_backends/test_database.py   kuma-lib(Download)
            import traceback
            trace = "\n".join(traceback.format_stack())
            tb.mark_as_retry(tid, exception, traceback=trace)
        self.assertEqual(tb.get_status(tid), states.RETRY)
        self.assertIsInstance(tb.get_result(tid), KeyError)

src/c/e/celery-3.1.11/celery/tests/backends/test_database.py   celery(Download)
            import traceback
            trace = '\n'.join(traceback.format_stack())
            tb.mark_as_retry(tid, exception, traceback=trace)
            self.assertEqual(tb.get_status(tid), states.RETRY)
            self.assertIsInstance(tb.get_result(tid), KeyError)

src/o/p/openquake-packages-HEAD/celery/celery/tests/test_backends/test_database.py   openquake-packages(Download)
            import traceback
            trace = "\n".join(traceback.format_stack())
        tb.mark_as_retry(tid, exception, traceback=trace)
        self.assertEqual(tb.get_status(tid), states.RETRY)
        self.assertIsInstance(tb.get_result(tid), KeyError)

  1 | 2  Next