##// END OF EJS Templates
#41 Fix for incorrect demandimport activity check logic, which could cause various problems with imports after mercurial_keyring is imported.
Marcin Kasperski -
r134:550b655d default
parent child Browse files
Show More
@@ -76,7 +76,7 b' for blocked_module in ['
76
76
77 # Temporarily disable demandimport to make the need of extending
77 # Temporarily disable demandimport to make the need of extending
78 # the list above less likely.
78 # the list above less likely.
79 if __import__ == demandimport._import:
79 if demandimport.isenabled():
80 demandimport.disable()
80 demandimport.disable()
81 try:
81 try:
82 import keyring
82 import keyring
General Comments 0
You need to be logged in to leave comments. Login now