CMake: pro2cmake.py: Better indentation in debug dump
Indent the individual parts of a scope relative to the scope itself. This makes things a bit more readable. Change-Id: Iffbffd69bc960118f9657a1b7fb488da3c7b48dd Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
This commit is contained in:
parent
6e9a2dd3c6
commit
cc593426eb
@ -341,14 +341,14 @@ class Scope:
|
||||
else:
|
||||
print('{}Scope {} in "{}" with condition: "{}".'
|
||||
.format(ind, self._file, self._basedir, self._condition))
|
||||
print('{}Keys:'.format(ind))
|
||||
print('{} Keys:'.format(ind))
|
||||
keys = self._operations.keys()
|
||||
if not keys:
|
||||
print('{} -- NONE --'.format(ind))
|
||||
else:
|
||||
for k in sorted(keys):
|
||||
print('{} {} = "{}"'.format(ind, k, self._operations.get(k, [])))
|
||||
print('{}Children:'.format(ind))
|
||||
print('{} Children:'.format(ind))
|
||||
if not self._children:
|
||||
print('{} -- NONE --'.format(ind))
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user