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