diff options
author | hjk <[email protected]> | 2020-05-25 11:42:18 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2020-05-25 23:53:47 +0000 |
commit | e71c0b7fe206d607c94bda0cd2dc5d7ed249101b (patch) | |
tree | 6b81f29ca272491cf520ed22671169b4c745c042 | |
parent | 49ac9bb5173d92d12a973df3c64683aefff46160 (diff) |
Debugger: Drop unnecessary use of ModuleNotFoundError
That's Python 3 only, and doesn't add value here.
Change-Id: I9b1702ea8b0b0ddb090fdfc393228b4430da0b07
Task-number: QTCREATORBUG-24004
Reviewed-by: Christian Stenger <[email protected]>
Reviewed-by: Eike Ziller <[email protected]>
-rw-r--r-- | share/qtcreator/debugger/dumper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qtcreator/debugger/dumper.py b/share/qtcreator/debugger/dumper.py index 80d8d47feef..7df90b65db2 100644 --- a/share/qtcreator/debugger/dumper.py +++ b/share/qtcreator/debugger/dumper.py @@ -39,7 +39,7 @@ try: # we do not need to hard fail in cases of partial python installation # that will never use this. import json -except ModuleNotFoundError: +except: print("Python module json not found. " "Native combined debugging might not work.") pass |