mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-20 10:26:44 +01:00
Update class name
This commit is contained in:
parent
5205042cda
commit
74eb32a5e7
2 changed files with 6 additions and 6 deletions
|
@ -25,7 +25,7 @@
|
|||
from slpkg.url_read import URL
|
||||
|
||||
|
||||
class Read(object):
|
||||
class ReadSBo(object):
|
||||
"""Read SBo files from urls
|
||||
"""
|
||||
def __init__(self, sbo_url):
|
||||
|
|
|
@ -34,7 +34,7 @@ from slpkg.pkg.find import find_package
|
|||
from slpkg.pkg.build import BuildPackage
|
||||
from slpkg.pkg.manager import PackageManager
|
||||
|
||||
from read import Read
|
||||
from read import ReadSBo
|
||||
from remove import delete
|
||||
from greps import SBoGrep
|
||||
from compressed import SBoLink
|
||||
|
@ -83,16 +83,16 @@ class SBoNetwork(object):
|
|||
Download(path="", url=self.dwn_srcs, repo="sbo").start()
|
||||
break
|
||||
elif choice in ["R", "r"]:
|
||||
README = Read(self.sbo_url).readme("README")
|
||||
README = ReadSBo(self.sbo_url).readme("README")
|
||||
fill = self.fill_pager(README)
|
||||
pydoc.pager(README + fill)
|
||||
elif choice in ["F", "f"]:
|
||||
info = Read(self.sbo_url).info(self.name, ".info")
|
||||
info = ReadSBo(self.sbo_url).info(self.name, ".info")
|
||||
fill = self.fill_pager(info)
|
||||
pydoc.pager(info + fill)
|
||||
elif choice in ["S", "s"]:
|
||||
SlackBuild = Read(self.sbo_url).slackbuild(self.name,
|
||||
".SlackBuild")
|
||||
SlackBuild = ReadSBo(self.sbo_url).slackbuild(self.name,
|
||||
".SlackBuild")
|
||||
fill = self.fill_pager(SlackBuild)
|
||||
pydoc.pager(SlackBuild + fill)
|
||||
elif choice in ["B", "b"]:
|
||||
|
|
Loading…
Reference in a new issue