From 74eb32a5e745549cc684ea8f0f2e056af36994ce Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 5 Aug 2015 07:02:45 +0300 Subject: [PATCH] Update class name --- slpkg/sbo/read.py | 2 +- slpkg/sbo/views.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/slpkg/sbo/read.py b/slpkg/sbo/read.py index 5225d655..406005f8 100644 --- a/slpkg/sbo/read.py +++ b/slpkg/sbo/read.py @@ -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): diff --git a/slpkg/sbo/views.py b/slpkg/sbo/views.py index eddf5068..8888a769 100644 --- a/slpkg/sbo/views.py +++ b/slpkg/sbo/views.py @@ -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"]: