mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Updated for error messages
This commit is contained in:
parent
284a140161
commit
534942b783
1 changed files with 2 additions and 2 deletions
|
@ -73,5 +73,5 @@ class Check(Configs):
|
|||
""" Checking for empty table """
|
||||
db = Path(self.db_path, self.database_name)
|
||||
if not SBoQueries('').sbos() or not db.is_file():
|
||||
raise SystemExit('\nYou need to update the package lists first.\n'
|
||||
"Please run 'slpkg update'.\n")
|
||||
self.utils.raise_error_message("You need to update the package lists first.\n"
|
||||
" Please run 'slpkg update'")
|
||||
|
|
Loading…
Add table
Reference in a new issue