Skip to content
Snippets Groups Projects
Commit 44a596a8 authored by Bryan O'Sullivan's avatar Bryan O'Sullivan
Browse files

check-seclevel: pass a ui to the extension loader

Without this, if an import error occurs (as with pypy), the attempt to
report it fails since ui is None.
parent 020d93c4
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@
for name in sorted(extensions.enabled().keys() +
extensions.disabled().keys()):
mod = extensions.load(None, name, None)
mod = extensions.load(ui, name, None)
if not mod.__doc__:
ui.note(('skip checking %s extension: no help document\n') % name)
continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment