mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-20 10:26:44 +01:00
Fixed typos
This commit is contained in:
parent
354d6f9f35
commit
e8dbcd5a6d
4 changed files with 8 additions and 8 deletions
|
@ -65,6 +65,6 @@ def pkg_upgrade(repo, skip, flag):
|
|||
|
||||
|
||||
def installed():
|
||||
"""Return all installed packages
|
||||
"""Returns all installed packages
|
||||
"""
|
||||
return find_package("", _meta_.pkg_path)
|
||||
|
|
|
@ -30,7 +30,7 @@ from slpkg.sbo.greps import SBoGrep
|
|||
|
||||
|
||||
class PkgDesc(Utils):
|
||||
"""Print package description from the repository
|
||||
"""Prints package description from the repository
|
||||
"""
|
||||
def __init__(self, name, repo, paint):
|
||||
self.name = name
|
||||
|
@ -51,7 +51,7 @@ class PkgDesc(Utils):
|
|||
self.lib = f"{self.meta.lib_path}{self.repo}_repo/PACKAGES.TXT"
|
||||
|
||||
def view(self):
|
||||
"""Print package description by repository
|
||||
"""Prints package description by repository
|
||||
"""
|
||||
description, count = "", 0
|
||||
if self.repo == "sbo":
|
||||
|
|
|
@ -48,7 +48,7 @@ class DialogUtil:
|
|||
self.d = Dialog(dialog="dialog", autowidgetsize=True)
|
||||
|
||||
def checklist(self):
|
||||
"""Run dialog checklist
|
||||
"""Runs dialog checklist
|
||||
"""
|
||||
choice = []
|
||||
for item in self.data:
|
||||
|
@ -63,7 +63,7 @@ class DialogUtil:
|
|||
self.exit()
|
||||
|
||||
def buildlist(self, enabled):
|
||||
"""Run dialog buildlist
|
||||
"""Runs dialog buildlist
|
||||
"""
|
||||
choice = []
|
||||
for item in self.data:
|
||||
|
@ -81,7 +81,7 @@ class DialogUtil:
|
|||
self.exit()
|
||||
|
||||
def exit(self):
|
||||
"""Exit from dialog
|
||||
"""Exits from dialog
|
||||
"""
|
||||
self.clear_screen()
|
||||
raise SystemExit()
|
||||
|
@ -92,7 +92,7 @@ class DialogUtil:
|
|||
os.system("clear")
|
||||
|
||||
def unicode_to_string(self):
|
||||
"""Convert unicode in string
|
||||
"""Converts unicode in string
|
||||
"""
|
||||
for tag in self.tags:
|
||||
self.ununicode.append(str(tag))
|
||||
|
|
|
@ -101,7 +101,7 @@ Keys: SPACE select or deselect the highlighted repositories,
|
|||
self.tag_line = False
|
||||
|
||||
def update_repos(self):
|
||||
"""Update repositories.conf file with enabled or disabled
|
||||
"""Updates repositories.conf file with enabled or disabled
|
||||
repositories
|
||||
"""
|
||||
with open(f"{self.meta.conf_path}"
|
||||
|
|
Loading…
Reference in a new issue