index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-11-05 17:29:53 +0100 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-11-05 17:29:53 +0100 |
commit | bf5258892684c02ebf68cfdb5bbb56a5eddb5ae2 (patch) | |
tree | ad8a88622b1d39572d8ea6d246cc5c48000093ab /archinstall/lib/general.py | |
parent | b3aba8d855c48b03f53f1f0fb0eb3f7978b089a4 (diff) | |
parent | 3e53d45413a8a88ebea972a0d94edeb4b2445287 (diff) |
-rw-r--r-- | archinstall/lib/general.py | 8 |
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py index 1e8fc837..887a60d3 100644 --- a/archinstall/lib/general.py +++ b/archinstall/lib/general.py @@ -14,6 +14,7 @@ except: import select EPOLLIN = 0 EPOLLHUP = 0 + class epoll(): """ #!if windows Create a epoll() implementation that simulates the epoll() behavior. @@ -38,7 +39,7 @@ except: except OSError: return [] -from .exceptions import * +from .exceptions import RequirementError, SysCallError from .output import log from .storage import storage @@ -241,7 +242,7 @@ class SysCommandWorker: got_output = True self.peak(output) self._trace_log += output - except OSError as err: + except OSError: self.ended = time.time() break @@ -379,8 +380,7 @@ def prerequisite_check(): def reboot(): - o = b''.join(SysCommand("/usr/bin/reboot")) - + SysCommand("/usr/bin/reboot") def pid_exists(pid: int): try: |