[yum-commits] docs/yum-cron.8 test/skipbroken-tests.py test/testbase.py utils.py yum/__init__.py yum/transactioninfo.py
Ville Skyttä
scop at osuosl.org
Sat Jan 18 21:44:32 UTC 2014
docs/yum-cron.8 | 2 +-
test/skipbroken-tests.py | 8 ++++----
test/testbase.py | 2 +-
utils.py | 2 +-
yum/__init__.py | 2 +-
yum/transactioninfo.py | 2 +-
6 files changed, 9 insertions(+), 9 deletions(-)
New commits:
commit b9bcf5ce72be69e6afa6130f2d2ebd8b71fdd6f8
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sat Jan 18 23:44:25 2014 +0200
Spelling fixes.
diff --git a/docs/yum-cron.8 b/docs/yum-cron.8
index 2af059d..db50fc2 100644
--- a/docs/yum-cron.8
+++ b/docs/yum-cron.8
@@ -1,7 +1,7 @@
.\" yum-cron - cron interface for yum
.TH "yum-cron" "8" "" "Nick Jacek" ""
.SH "NAME"
-yum-cron \- an interface to convieniently call yum from cron
+yum-cron \- an interface to conveniently call yum from cron
.SH "SYNOPSIS"
\fByum-cron\fP [config-file]
diff --git a/test/skipbroken-tests.py b/test/skipbroken-tests.py
index 68f5ef9..e2abc4c 100644
--- a/test/skipbroken-tests.py
+++ b/test/skipbroken-tests.py
@@ -26,7 +26,7 @@ class SkipBrokenTests(DepsolveTests):
def _pkgstr_to_nevra(self, pkg_str):
'''
- Get a nevra from from a epoch:name-version-release.arch string
+ Get a nevra from from an epoch:name-version-release.arch string
@param pkg_str: package string
'''
res = REGEX_PKG.search(pkg_str)
@@ -40,7 +40,7 @@ class SkipBrokenTests(DepsolveTests):
def repoString(self, pkg_str):
'''
- Add an available package from a epoch:name-version-release.arch string
+ Add an available package from an epoch:name-version-release.arch string
'''
(n,e,v,r,a) = self._pkgstr_to_nevra(pkg_str)
return self.repoPackage(n,v,r,e,a)
@@ -48,7 +48,7 @@ class SkipBrokenTests(DepsolveTests):
def instString(self, pkg_str):
'''
- Add an installed package from a epoch:name-version-release.arch string
+ Add an installed package from an epoch:name-version-release.arch string
'''
(n,e,v,r,a) = self._pkgstr_to_nevra(pkg_str)
return self.instPackage(n,v,r,e,a)
@@ -119,7 +119,7 @@ class SkipBrokenTests(DepsolveTests):
def testUpdateRequireOld(self):
'''update with missing req. is skipped
The foo-1.0 -> foo-2.0 update fails, because foo-tools-2.0 need by foo-2.0
- is not provided, the update should be skipped and result in a empty transaction
+ is not provided, the update should be skipped and result in an empty transaction
'''
po1 = self.instPackage('foo', '1')
po1.addRequires('foo-tools', 'EQ', ('0', '1', '0'))
diff --git a/test/testbase.py b/test/testbase.py
index a31f7a6..9d331c6 100644
--- a/test/testbase.py
+++ b/test/testbase.py
@@ -402,7 +402,7 @@ class FakeRpmDb(packageSack.PackageSack):
#######################################################################
class DepsolveTests(_DepsolveTestsBase):
- """Run depsolver on an manually set up transaction.
+ """Run depsolver on a manually set up transaction.
You can add pkgs to self.rpmdb or self.tsInfo. See
yum/transactioninfo.py for details.
A typical test case looks like:
diff --git a/utils.py b/utils.py
index 28fdd70..0b7191c 100755
--- a/utils.py
+++ b/utils.py
@@ -345,7 +345,7 @@ class YumUtilBase(YumBaseCli):
def doUtilYumSetup(self):
"""Do a default setup for all the normal or necessary yum components;
- this method is mostly just a used for testing.
+ this method is mostly just used for testing.
"""
# FIXME - we need another way to do this, I think.
try:
diff --git a/yum/__init__.py b/yum/__init__.py
index 9fb88d4..c2432ed 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -1521,7 +1521,7 @@ much more problems).
def _checkUpdatedLeftovers(self):
"""
If multiple packages is updated the same package
- and this package get removed because of an dep issue
+ and this package get removed because of a dep issue
then make sure that all the TS_UPDATED get removed.
"""
for txmbr in self.tsInfo.getMembersWithState(None, [TS_UPDATED]):
diff --git a/yum/transactioninfo.py b/yum/transactioninfo.py
index d34f3a8..9ce5025 100644
--- a/yum/transactioninfo.py
+++ b/yum/transactioninfo.py
@@ -519,7 +519,7 @@ class TransactionData:
return txmbr
def addDowngrade(self, po, oldpo):
- """adds a package as an downgrade takes a packages object and returns
+ """adds a package as a downgrade takes a packages object and returns
a pair of TransactionMember Objects"""
itxmbr = self.addErase(oldpo)
More information about the Yum-commits
mailing list