mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-18 10:26:29 +01:00
Bugfix TypeError: exceptions must derive from BaseException
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
433dd7eb84
commit
ee8eaf5ae3
4 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
3.9.8 - 12/05/2022
|
||||
Bugfix:
|
||||
- TypeError: exceptions must derive from BaseException
|
||||
|
||||
3.9.7 - 09/05/2022
|
||||
Fixed:
|
||||
- Stderr error output
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# slpkg 3.9.7
|
||||
# slpkg 3.9.8
|
||||
|
||||
Slpkg is a powerful software package manager that installs, updates, and removes packages on
|
||||
[Slackware](http://www.slackware.com/) based systems. It automatically computes dependencies and
|
||||
|
|
|
@ -81,7 +81,7 @@ class MetaData:
|
|||
|
||||
__all__ = "slpkg"
|
||||
__author__ = "dslackw"
|
||||
__version_info__ = (3, 9, 7)
|
||||
__version_info__ = (3, 9, 8)
|
||||
__version__ = "{0}.{1}.{2}".format(*__version_info__)
|
||||
__license__ = "GNU General Public License v3 (GPLv3)"
|
||||
__email__ = "d.zlatanidis@gmail.com"
|
||||
|
|
|
@ -225,7 +225,7 @@ def usage(repo, stderr):
|
|||
else:
|
||||
error_repo = (f"slpkg: Error: Repository '{repo}' does not exist"
|
||||
"\n")
|
||||
raise(f"\n {error_repo}")
|
||||
raise SystemExit(f"\n{error_repo}")
|
||||
print(usage.__doc__)
|
||||
print("For more information try 'slpkg -h, --help' or view manpage\n")
|
||||
if stderr == 1:
|
||||
|
|
Loading…
Reference in a new issue