Show More
@@ -781,7 +781,7 b' def _disabledhelp(path):' | |||
|
781 | 781 | def disabled(): |
|
782 | 782 | '''find disabled extensions from hgext. returns a dict of {name: desc}''' |
|
783 | 783 | try: |
|
784 | from hgext import __index__ | |
|
784 | from hgext import __index__ # pytype: disable=import-error | |
|
785 | 785 | |
|
786 | 786 | return dict( |
|
787 | 787 | (name, gettext(desc)) |
@@ -807,7 +807,7 b' def disabled():' | |||
|
807 | 807 | def disabledext(name): |
|
808 | 808 | '''find a specific disabled extension from hgext. returns desc''' |
|
809 | 809 | try: |
|
810 | from hgext import __index__ | |
|
810 | from hgext import __index__ # pytype: disable=import-error | |
|
811 | 811 | |
|
812 | 812 | if name in _order: # enabled |
|
813 | 813 | return |
General Comments 0
You need to be logged in to leave comments.
Login now