forked from qt-creator/qt-creator
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 <christian.stenger@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user