UI/UserInterface.py

changeset 6364
6a496f0886ad
parent 6348
d6c0b8ab1fc6
child 6365
85f8745427a6
equal deleted inserted replaced
6363:30ba1d9bd841 6364:6a496f0886ad
3243 def __showVersions(self): 3243 def __showVersions(self):
3244 """ 3244 """
3245 Private slot to handle the Versions dialog. 3245 Private slot to handle the Versions dialog.
3246 """ 3246 """
3247 try: 3247 try:
3248 import sip 3248 try:
3249 import sip
3250 except ImportError:
3251 from PyQt5 import sip
3249 sip_version_str = sip.SIP_VERSION_STR 3252 sip_version_str = sip.SIP_VERSION_STR
3250 except (ImportError, AttributeError): 3253 except (ImportError, AttributeError):
3251 sip_version_str = "sip version not available" 3254 sip_version_str = "sip version not available"
3252 3255
3253 versionText = self.tr( 3256 versionText = self.tr(

eric ide

mercurial