Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2022-01-05 23:42:06 +0100
committerGitHub <noreply@github.com>2022-01-05 23:42:06 +0100
commitddb0810af0d0bb3fd9aa955d5fee18526b1fd043 (patch)
treebc103ae92c0b97a88d62905ab6e3397a5f6b8180 /archinstall
parenta68a23d10a08052091df9550d119810db94a2fdf (diff)
Improve documentation v2.3.1 (#843)
* Updated documentation Mostly I've moved things around, cleaned up some dead paths and added more clarity. * Cleaned up !superusers section * Mentioning of accessibility
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/exceptions.py4
-rw-r--r--archinstall/lib/simple_menu.py3
2 files changed, 5 insertions, 2 deletions
diff --git a/archinstall/lib/exceptions.py b/archinstall/lib/exceptions.py
index aa86124b..6cf00026 100644
--- a/archinstall/lib/exceptions.py
+++ b/archinstall/lib/exceptions.py
@@ -23,6 +23,10 @@ class SysCallError(BaseException):
self.exit_code = exit_code
+class PermissionError(BaseException):
+ pass
+
+
class ProfileNotFound(BaseException):
pass
diff --git a/archinstall/lib/simple_menu.py b/archinstall/lib/simple_menu.py
index 6e4853ea..bc78e703 100644
--- a/archinstall/lib/simple_menu.py
+++ b/archinstall/lib/simple_menu.py
@@ -59,8 +59,7 @@ from typing import (
try:
import termios
except ImportError as e:
- raise NotImplementedError('"{}" is currently not supported.'.format(platform.system())) from e
-
+ pass # raise NotImplementedError('"{}" is currently not supported.'.format(platform.system())) from e
__author__ = "Ingo Meyer"
__email__ = "i.meyer@fz-juelich.de"