Update class name

This commit is contained in:
Dimitris Zlatanidis 2015-08-05 07:02:45 +03:00
parent 5205042cda
commit 74eb32a5e7
2 changed files with 6 additions and 6 deletions

View file

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

View file

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