aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2020-05-11 10:13:54 +0200
committerhjk <hjk@qt.io>2020-05-11 10:35:32 +0000
commit65935ce03c8f712848fe4eb062f0f5aa6db3b4fc (patch)
tree049fffab41e37a5a9be1b5ce041bde62a4ed01ca
parent050dec20dde89799533def3c88dc046fcc751ee4 (diff)
Debugger: Fix startup when Python's json module is missing
Task-number: QTCREATORBUG-24004 Change-Id: I1c0563868374263f13cec3a8f40138bce71338d6 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
-rw-r--r--share/qtcreator/debugger/dumper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/qtcreator/debugger/dumper.py b/share/qtcreator/debugger/dumper.py
index ad8f495428..da8c322582 100644
--- a/share/qtcreator/debugger/dumper.py
+++ b/share/qtcreator/debugger/dumper.py
@@ -40,8 +40,8 @@ try:
# that will never use this.
import json
except ModuleNotFoundError:
- DumperBase.warn("Python module json not found. "
- "Native combined debugging might not work.")
+ print("Python module json not found. "
+ "Native combined debugging might not work.")
pass