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
class Read(object):
class ReadSBo(object):
"""Read SBo files from urls
"""
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.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"]: