mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-30 00:04:26 -04:00
* pyqtwrappers update (add QtNetwork, QtXml, QtSql, QtTest, uic) * 2to3 updates * move QPyNullVariant/NULL to PyQt.QtCore * add global unicode/basestring/long for Python3 * expand QtGui, QtCore module and star exports * Qscintilla2 * replace Set import with set builtin
10 lines
286 B
Python
10 lines
286 B
Python
from lib2to3.fixes.fix_import import FixImport as FixImportOrig
|
|
|
|
|
|
class FixImport(FixImportOrig):
|
|
|
|
def probably_a_local_import(self, imp_name):
|
|
if imp_name.startswith(u"PyQt"):
|
|
return False
|
|
return super(FixImport, self).probably_a_local_import(imp_name)
|