From ddb0810af0d0bb3fd9aa955d5fee18526b1fd043 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 5 Jan 2022 23:42:06 +0100 Subject: 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 --- archinstall/lib/exceptions.py | 4 ++++ archinstall/lib/simple_menu.py | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'archinstall') 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" -- cgit v1.2.3-54-g00ecf