Fixed typos

This commit is contained in:
Dimitris Zlatanidis 2022-05-29 21:56:49 +03:00
parent 354d6f9f35
commit e8dbcd5a6d
4 changed files with 8 additions and 8 deletions

View file

@ -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)

View file

@ -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":

View file

@ -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))

View file

@ -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}"