Skip to content

Commit

Permalink
Remove old uic imports in qtpy.__init__
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Jun 11, 2016
1 parent 332b901 commit 48eecd3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions qtpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ class PythonQtError(Exception):
if API in PYQT5_API:
try:
from PyQt5.QtCore import PYQT_VERSION_STR as __version__
from PyQt5 import uic # analysis:ignore
except ImportError:
API = os.environ['QT_API'] = 'pyqt'
API_NAME = 'PyQt4'
Expand All @@ -105,7 +104,6 @@ class PythonQtError(Exception):
pass

from PyQt4.QtCore import PYQT_VERSION_STR as __version__ # analysis:ignore
from PyQt4 import uic # analysis:ignore
PYQT5 = False
PYQT4 = True
except ImportError:
Expand Down

0 comments on commit 48eecd3

Please sign in to comment.