##// END OF EJS Templates
dispatch: use the right context manager to deactivate demandimport...
Jordi Gutiérrez Hermoso -
r26236:2e425171 default
parent child Browse files
Show More
@@ -181,7 +181,7 b' def _runcatch(req):'
181 181 debugtrace[debugger] == debugtrace['pdb']):
182 182 ui.warn(_("%s debugger specified "
183 183 "but its module was not found\n") % debugger)
184 with demandimport.disabled():
184 with demandimport.deactivated():
185 185 debugtrace[debugger]()
186 186 try:
187 187 return _dispatch(req)
General Comments 0
You need to be logged in to leave comments. Login now