diff --git a/infer/lib/python/inferlib/bucklib.py b/infer/lib/python/inferlib/bucklib.py index abf0af8a1..bc43bc46a 100644 --- a/infer/lib/python/inferlib/bucklib.py +++ b/infer/lib/python/inferlib/bucklib.py @@ -53,11 +53,6 @@ cmd = ['{0}'] + {1} + ['--', 'javac'] + sys.argv[1:] subprocess.check_call(cmd) """ -LOCAL_CONFIG = """\ - [tools] - javac = %s -""" - def prepare_build(args): """Creates script that redirects javac calls to infer and a local buck diff --git a/infer/lib/python/inferlib/jwlib.py b/infer/lib/python/inferlib/jwlib.py index 7c34ccc02..8fbd08d89 100644 --- a/infer/lib/python/inferlib/jwlib.py +++ b/infer/lib/python/inferlib/jwlib.py @@ -186,7 +186,7 @@ class AnalyzerWithFrontendWrapper(analyze.AnalyzerWrapper): if self.javac.args.version: if self.args.buck: key = self.args.analyzer - print(utils.infer_key(key), file=sys.stderr) + utils.stderr(utils.infer_key(key)) else: return self.javac.run() else: