Show More
@@ -151,7 +151,7 b' def _getmtimepaths(ui):' | |||||
151 | """ |
|
151 | """ | |
152 | modules = [m for n, m in extensions.extensions(ui)] |
|
152 | modules = [m for n, m in extensions.extensions(ui)] | |
153 | try: |
|
153 | try: | |
154 | from . import __version__ |
|
154 | from . import __version__ # type: ignore | |
155 |
|
155 | |||
156 | modules.append(__version__) |
|
156 | modules.append(__version__) | |
157 | except ImportError: |
|
157 | except ImportError: |
@@ -37,7 +37,7 b" policy = b'allow'" | |||||
37 | } |
|
37 | } | |
38 |
|
38 | |||
39 | try: |
|
39 | try: | |
40 | from . import __modulepolicy__ |
|
40 | from . import __modulepolicy__ # type: ignore | |
41 |
|
41 | |||
42 | policy = __modulepolicy__.modulepolicy |
|
42 | policy = __modulepolicy__.modulepolicy | |
43 | except ImportError: |
|
43 | except ImportError: |
@@ -1152,7 +1152,7 b' def makeloggingsocket(' | |||||
1152 | def version(): |
|
1152 | def version(): | |
1153 | """Return version information if available.""" |
|
1153 | """Return version information if available.""" | |
1154 | try: |
|
1154 | try: | |
1155 | from . import __version__ |
|
1155 | from . import __version__ # type: ignore | |
1156 |
|
1156 | |||
1157 | return __version__.version |
|
1157 | return __version__.version | |
1158 | except ImportError: |
|
1158 | except ImportError: |
General Comments 0
You need to be logged in to leave comments.
Login now