Show More
@@ -1,4 +1,5 b'' | |||||
1 | import os |
|
1 | import os | |
|
2 | import winreg # pytype: disable=import-error | |||
2 |
|
3 | |||
3 | from typing import ( |
|
4 | from typing import ( | |
4 | List, |
|
5 | List, | |
@@ -15,14 +16,6 b' from . import (' | |||||
15 | if pycompat.TYPE_CHECKING: |
|
16 | if pycompat.TYPE_CHECKING: | |
16 | from . import ui as uimod |
|
17 | from . import ui as uimod | |
17 |
|
18 | |||
18 | try: |
|
|||
19 | import _winreg as winreg # pytype: disable=import-error |
|
|||
20 |
|
||||
21 | winreg.CloseKey |
|
|||
22 | except ImportError: |
|
|||
23 | # py2 only |
|
|||
24 | import winreg # pytype: disable=import-error |
|
|||
25 |
|
||||
26 | # MS-DOS 'more' is the only pager available by default on Windows. |
|
19 | # MS-DOS 'more' is the only pager available by default on Windows. | |
27 | fallbackpager = b'more' |
|
20 | fallbackpager = b'more' | |
28 |
|
21 |
General Comments 0
You need to be logged in to leave comments.
Login now