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
|
from slpkg.url_read import URL
|
||||||
|
|
||||||
|
|
||||||
class Read(object):
|
class ReadSBo(object):
|
||||||
"""Read SBo files from urls
|
"""Read SBo files from urls
|
||||||
"""
|
"""
|
||||||
def __init__(self, sbo_url):
|
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.build import BuildPackage
|
||||||
from slpkg.pkg.manager import PackageManager
|
from slpkg.pkg.manager import PackageManager
|
||||||
|
|
||||||
from read import Read
|
from read import ReadSBo
|
||||||
from remove import delete
|
from remove import delete
|
||||||
from greps import SBoGrep
|
from greps import SBoGrep
|
||||||
from compressed import SBoLink
|
from compressed import SBoLink
|
||||||
|
@ -83,16 +83,16 @@ class SBoNetwork(object):
|
||||||
Download(path="", url=self.dwn_srcs, repo="sbo").start()
|
Download(path="", url=self.dwn_srcs, repo="sbo").start()
|
||||||
break
|
break
|
||||||
elif choice in ["R", "r"]:
|
elif choice in ["R", "r"]:
|
||||||
README = Read(self.sbo_url).readme("README")
|
README = ReadSBo(self.sbo_url).readme("README")
|
||||||
fill = self.fill_pager(README)
|
fill = self.fill_pager(README)
|
||||||
pydoc.pager(README + fill)
|
pydoc.pager(README + fill)
|
||||||
elif choice in ["F", "f"]:
|
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)
|
fill = self.fill_pager(info)
|
||||||
pydoc.pager(info + fill)
|
pydoc.pager(info + fill)
|
||||||
elif choice in ["S", "s"]:
|
elif choice in ["S", "s"]:
|
||||||
SlackBuild = Read(self.sbo_url).slackbuild(self.name,
|
SlackBuild = ReadSBo(self.sbo_url).slackbuild(self.name,
|
||||||
".SlackBuild")
|
".SlackBuild")
|
||||||
fill = self.fill_pager(SlackBuild)
|
fill = self.fill_pager(SlackBuild)
|
||||||
pydoc.pager(SlackBuild + fill)
|
pydoc.pager(SlackBuild + fill)
|
||||||
elif choice in ["B", "b"]:
|
elif choice in ["B", "b"]:
|
||||||
|
|
Loading…
Reference in a new issue