##// END OF EJS Templates
Backport PR #10154: Move ImportDenier to the front of sys.meta_path...
Min RK -
Show More
@@ -47,7 +47,7 b' class ImportDenier(object):'
47 """ % (fullname, loaded_api()))
47 """ % (fullname, loaded_api()))
48
48
49 ID = ImportDenier()
49 ID = ImportDenier()
50 sys.meta_path.append(ID)
50 sys.meta_path.insert(0, ID)
51
51
52
52
53 def commit_api(api):
53 def commit_api(api):
General Comments 0
You need to be logged in to leave comments. Login now