Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/user_interaction.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-06-10 13:31:27 +0200
committerGitHub <noreply@github.com>2021-06-10 13:31:27 +0200
commit5ae3d11ab2b248181ec403641d376f3467028ab8 (patch)
treeeeb9a763859bca8dc27a67ba96a4e289bb1a17ae /archinstall/lib/user_interaction.py
parentdc10725bf93e4259fb2be030221cbe3a0527f85b (diff)
parent434ebb3419f6d614c753729498337abb738481be (diff)
Merge pull request #537 from archlinux/torxed-fix-517
Introduces the use of HTTP mirrors additionally
Diffstat (limited to 'archinstall/lib/user_interaction.py')
-rw-r--r--archinstall/lib/user_interaction.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py
index b52267d9..07b675a4 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -7,9 +7,7 @@ import select # Used for char by char polling of sys.stdin
import shutil
import signal
import sys
-import termios
import time
-import tty
from .exceptions import *
from .general import SysCommand
@@ -269,6 +267,8 @@ class MiniCurses:
def get_keyboard_input(self, strip_rowbreaks=True, end='\n'):
assert end in ['\r', '\n', None]
+ import termios
+ import tty
poller = select.epoll()
response = ''