[LNT] r312657 - Remove unused code
Matthias Braun via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 6 11:22:22 PDT 2017
Author: matze
Date: Wed Sep 6 11:22:22 2017
New Revision: 312657
URL: http://llvm.org/viewvc/llvm-project?rev=312657&view=rev
Log:
Remove unused code
Modified:
lnt/trunk/lnt/util/async_ops.py
Modified: lnt/trunk/lnt/util/async_ops.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/util/async_ops.py?rev=312657&r1=312656&r2=312657&view=diff
==============================================================================
--- lnt/trunk/lnt/util/async_ops.py (original)
+++ lnt/trunk/lnt/util/async_ops.py Wed Sep 6 11:22:22 2017
@@ -156,17 +156,3 @@ def async_wrapper(job, ts_args, func_arg
# parent process.
logger.error("Subprocess failed with:" +
"".join(traceback.format_exception(*sys.exc_info())))
-
-
-def make_callback():
- app = current_app
-
- def async_job_finished(arg):
- if isinstance(arg, Exception):
- logger.error(str(arg))
- raise arg
- if isinstance(arg, list):
- for log_entry in arg:
- logger.handle(log_entry)
- check_workers()
- return async_job_finished
More information about the llvm-commits
mailing list