aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2019-04-15 19:15:04 +0200
committerChristian Tismer <tismer@stackless.com>2019-04-16 16:42:22 +0000
commit38a9dc6cb2ba07be4b2c174a10fb60f1cdfba19a (patch)
tree5f1360640ef27092208845d17bf37a550e7f48b1 /sources/pyside2
parentc9f522f082485186dcd8be80186e3c11b55f2b77 (diff)
Revert an unwanted debug change in generate_pyi.py
During the complications with embedding and PyInstaller, an error condition was temporarily left in the code. It is now removed. Change-Id: I9113081dbbcbc84534517c72308eb1d25fbf201c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside2')
-rw-r--r--sources/pyside2/PySide2/support/generate_pyi.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/sources/pyside2/PySide2/support/generate_pyi.py b/sources/pyside2/PySide2/support/generate_pyi.py
index 3b4b3409a..f286e34f1 100644
--- a/sources/pyside2/PySide2/support/generate_pyi.py
+++ b/sources/pyside2/PySide2/support/generate_pyi.py
@@ -256,11 +256,7 @@ def generate_pyi(import_name, outpath, options):
logger.info("Generated: {outfilepath}".format(**locals()))
if is_py3:
# Python 3: We can check the file directly if the syntax is ok.
- try:
- subprocess.check_output([sys.executable, outfilepath])
- except Exception as e:
- print("+++ Problem executing test, although it works")
- traceback.print_exc(file=sys.stdout)
+ subprocess.check_output([sys.executable, outfilepath])
return 1