Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f312a95

Browse files
committed
Move ImportDenier to the front of sys.meta_path
Closes gh-9829
1 parent 5b96f50 commit f312a95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

IPython/external/qt_loaders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def load_module(self, fullname):
5757
""" % (fullname, loaded_api()))
5858

5959
ID = ImportDenier()
60-
sys.meta_path.append(ID)
60+
sys.meta_path.insert(0, ID)
6161

6262

6363
def commit_api(api):

0 commit comments

Comments
 (0)