Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2019-06-20 18:41:31 +0000
committerAnton Hvornum <anton.feeds@gmail.com>2019-06-20 18:41:31 +0000
commit6bfb19613c4642f992e09b1ffdd7767f6762027b (patch)
tree47fc273f0c670fb7787319e6afeba446e2f1c9a6
parent565218eed2210b37fc74c0271df1655206782392 (diff)
Fixed inproper call to time()
-rw-r--r--archinstall.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/archinstall.py b/archinstall.py
index 6be9cb48..85423b04 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -190,21 +190,21 @@ class sys_command():
yield output
print('[N] Waiting for output to settle (5 sec)')
- last = time()
- while time()-last < 5:
+ last = time.time()
+ while time.time()-last < 5:
for fileno, event in poller.poll(0.1):
try:
output = os.read(child_fd, 8192).strip()
trace_log += output
except OSError:
- last = time() - 60
+ last = time.time() - 60
break
if 'debug' in self.opts and self.opts['debug']:
if len(output):
print(output)
- last = time()
+ last = time.time()
if 'debug' in self.opts and self.opts['debug']:
print('[N] Exited subsystem, instructing it to shutdown.')