diff --git a/infer/lib/python/inferlib/jwlib.py b/infer/lib/python/inferlib/jwlib.py index 78042c518..d4ad6db32 100644 --- a/infer/lib/python/inferlib/jwlib.py +++ b/infer/lib/python/inferlib/jwlib.py @@ -257,11 +257,10 @@ class AnalyzerWithFrontendWrapper(analyze.AnalyzerWrapper): if self.args.android_harness: infer_cmd.append('-harness') - if (self.args.android_harness or - self.args.analyzer in [config.ANALYZER_CHECKERS, - config.ANALYZER_ERADICATE, - config.ANALYZER_CAPTURE]): - os.environ['INFER_CREATE_CALLEE_PDESC'] = 'Y' + if self.args.android_harness or \ + self.args.analyzer in [config.ANALYZER_ERADICATE, + config.ANALYZER_CAPTURE]: + os.environ['INFER_CREATE_CALLEE_PDESC'] = 'Y' return analyze.run_command( infer_cmd,