From 6c218b8032a27e15efdea399e4a6a667bb5f43e7 Mon Sep 17 00:00:00 2001 From: Alessandro Pasotti Date: Wed, 24 Oct 2018 11:13:54 +0200 Subject: [PATCH] Fix import sip on python 3.5 --- python/PyQt/PyQt5/sip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/PyQt/PyQt5/sip.py b/python/PyQt/PyQt5/sip.py index de6115beaca..fb675c76d46 100644 --- a/python/PyQt/PyQt5/sip.py +++ b/python/PyQt/PyQt5/sip.py @@ -25,5 +25,5 @@ __revision__ = '$Format:%H$' try: from PyQt5.sip import * -except ModuleNotFoundError: +except ImportError: from sip import *