Show More
@@ -151,7 +151,7 b' def _getmtimepaths(ui):' | |||
|
151 | 151 | """ |
|
152 | 152 | modules = [m for n, m in extensions.extensions(ui)] |
|
153 | 153 | try: |
|
154 |
from . import __version__ # type: |
|
|
154 | from . import __version__ # pytype: disable=import-error | |
|
155 | 155 | |
|
156 | 156 | modules.append(__version__) |
|
157 | 157 | except ImportError: |
@@ -45,7 +45,7 b" policy: bytes = b'allow'" | |||
|
45 | 45 | } |
|
46 | 46 | |
|
47 | 47 | try: |
|
48 |
from . import __modulepolicy__ # type: |
|
|
48 | from . import __modulepolicy__ # pytype: disable=import-error | |
|
49 | 49 | |
|
50 | 50 | policy: bytes = __modulepolicy__.modulepolicy |
|
51 | 51 | except ImportError: |
@@ -1162,7 +1162,7 b' def makeloggingsocket(' | |||
|
1162 | 1162 | def version(): |
|
1163 | 1163 | """Return version information if available.""" |
|
1164 | 1164 | try: |
|
1165 |
from . import __version__ # type: |
|
|
1165 | from . import __version__ # pytype: disable=import-error | |
|
1166 | 1166 | |
|
1167 | 1167 | return __version__.version |
|
1168 | 1168 | except ImportError: |
General Comments 0
You need to be logged in to leave comments.
Login now