rewriter: Removed debug printing

pull/4992/head
Daniel Mensinger 6 years ago
parent 0fd4dce906
commit e72f535fc8
No known key found for this signature in database
GPG Key ID: 54DD94C131E277D4
  1. 6
      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:

Loading…
Cancel
Save