aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2019-02-27 14:45:42 +0100
committerDaniel Mensinger <daniel@mensinger-ka.de>2019-03-04 13:00:05 +0100
commite72f535fc8205d4f273f6462b170c7189ae7bba1 (patch)
treeac842d2e9550dc05e9af566bae1fb00d05347e03 /mesonbuild
parent0fd4dce9061919772b64430bece3ada8cb97fd9c (diff)
downloadmeson-e72f535fc8205d4f273f6462b170c7189ae7bba1.zip
meson-e72f535fc8205d4f273f6462b170c7189ae7bba1.tar.gz
meson-e72f535fc8205d4f273f6462b170c7189ae7bba1.tar.bz2
rewriter: Removed debug printing
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/rewriter.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/mesonbuild/rewriter.py b/mesonbuild/rewriter.py
index ddb4b7f..d0441c0 100644
--- a/mesonbuild/rewriter.py
+++ b/mesonbuild/rewriter.py
@@ -27,7 +27,6 @@ from .ast import IntrospectionInterpreter, build_target_functions, AstConditionL
from mesonbuild.mesonlib import MesonException
from . import mlog, environment
from functools import wraps
-from pprint import pprint
from .mparser import Token, ArrayNode, ArgumentNode, AssignmentNode, BaseNode, BooleanNode, ElementaryNode, IdNode, FunctionNode, StringNode
import json, os, re
@@ -284,7 +283,6 @@ rewriter_keys = {
'sources': (list, [], None),
'subdir': (str, '', None),
'target_type': (str, 'executable', ['both_libraries', 'executable', 'jar', 'library', 'shared_library', 'shared_module', 'static_library']),
- 'debug': (bool, False, None)
}
}
@@ -546,11 +544,7 @@ class Rewriter:
target = self.find_target(cmd['target'])
if target is None and cmd['operation'] != 'tgt_add':
mlog.error('Unknown target "{}" --> skipping'.format(cmd['target']))
- if cmd['debug']:
- pprint(self.interpreter.targets)
return
- if cmd['debug']:
- pprint(target)
# Make source paths relative to the current subdir
def rel_source(src: str) -> str: