From c08520f9902aeb1b4ce22e1159060792081b0327 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 2 Feb 2022 14:22:52 +0100 Subject: SysCommand() to remove ANSII VT100 Esc codes & archlinux-keyring fix (#933) * Fixed SysCommandWorker() so that it removes ANSII VT100 escape codes. I also moved package.py into it's own folder, as that's something I want to expand on a lot, so package related stuff should go in there. I created a installed_package() function which gets information about the locally installed package. I changed so that find_packages() and find_package() returns a data-model instead for the package information. This should unify and make sure we detect issues down the line. * Working on structuring .version constructor that works with BaseModel * Added version contructors to VersionDef(). Also added __eq__ and __lt__ to LocalPackage() and PackageSearchResult(). * removed debug and added a TODO * Removed whitespace * Removed mirror-database function from myrepo --- archinstall/lib/exceptions.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'archinstall/lib/exceptions.py') diff --git a/archinstall/lib/exceptions.py b/archinstall/lib/exceptions.py index 783bc9c5..b89d1fcb 100644 --- a/archinstall/lib/exceptions.py +++ b/archinstall/lib/exceptions.py @@ -41,3 +41,6 @@ class UserError(BaseException): class ServiceException(BaseException): pass + +class PackageError(BaseException): + pass \ No newline at end of file -- cgit v1.2.3-54-g00ecf