[yum-commits] plugins/aliases plugins/fedorakmod plugins/fs-snapshot repoclosure.py show-installed.py test/yum-utils-pylintrc yumdownloader.py

Ville Skyttä scop at osuosl.org
Mon Jun 4 21:12:39 UTC 2012


 plugins/aliases/aliases.py         |    2 +-
 plugins/fedorakmod/fedorakmod.py   |    2 +-
 plugins/fs-snapshot/fs-snapshot.py |    2 +-
 repoclosure.py                     |    2 +-
 show-installed.py                  |    2 +-
 test/yum-utils-pylintrc            |    6 +++---
 yumdownloader.py                   |    2 +-
 7 files changed, 9 insertions(+), 9 deletions(-)

New commits:
commit 6139990e4021065dc6028bbd08ef06f3b4ad5410
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Jun 5 00:12:30 2012 +0300

    Spelling fixes.

diff --git a/plugins/aliases/aliases.py b/plugins/aliases/aliases.py
index 5cb08a1..9277c9b 100644
--- a/plugins/aliases/aliases.py
+++ b/plugins/aliases/aliases.py
@@ -44,7 +44,7 @@ class AliasedCommand:
 
     def doCheck(self, base, basecmd, extcmds):
         if recursive: # shouldn't happen
-            raise PluginYumExit('And error has occured for %s, please create a bug report')
+            raise PluginYumExit('And error has occurred for %s, please create a bug report')
 
         raise PluginYumExit('%s is an alias not a command, however recursive processing is turned off')
     doCommand = doCheck
diff --git a/plugins/fedorakmod/fedorakmod.py b/plugins/fedorakmod/fedorakmod.py
index b3aed61..82a43d5 100644
--- a/plugins/fedorakmod/fedorakmod.py
+++ b/plugins/fedorakmod/fedorakmod.py
@@ -37,7 +37,7 @@ kernelVariants = ["bigmem", "enterprise", "smp", "hugemem", "PAE",
                   "guest", "hypervisor", "xen0", "xenU", "xen"]
 
 def getRunningKernel():
-    # Taken from the installonlyn.py plugin writen by Jeremy Katz
+    # Taken from the installonlyn.py plugin written by Jeremy Katz
     # Copyright 2005  Red Hat, Inc. 
     # Modified by Jack Neely to return a kernel provides tuple
     """This takes the output of uname and figures out the (version, release)
diff --git a/plugins/fs-snapshot/fs-snapshot.py b/plugins/fs-snapshot/fs-snapshot.py
index 5094881..ef4afe8 100644
--- a/plugins/fs-snapshot/fs-snapshot.py
+++ b/plugins/fs-snapshot/fs-snapshot.py
@@ -21,7 +21,7 @@ This plugin creates a snapshot before any yum update or yum remove operation on
 any btrfs filesystem that is affected by the update/remove operation.
 
 This is a giant hammer.  Please be aware that if you rollback to a previous
-snapshot that any other changes that occured to the filesystem after the
+snapshot that any other changes that occurred to the filesystem after the
 snapshot takes place will not be in the snapshot.  You of course can mount the
 newer version elsewhere and copy the new versions of the files back to your
 rolled-back snapshot.  You have been warned.
diff --git a/repoclosure.py b/repoclosure.py
index 22efadc..e5aae1b 100755
--- a/repoclosure.py
+++ b/repoclosure.py
@@ -166,7 +166,7 @@ class RepoClosure(yum.YumBase):
 
         for pkg in pkgs:
             if pkg.repoid in self.lookaside:
-                # don't attempt to resolve dependancy issues for
+                # don't attempt to resolve dependency issues for
                 # packages from lookaside repositories
                 continue
             for (req, flags, (reqe, reqv, reqr)) in pkg.returnPrco('requires'):
diff --git a/show-installed.py b/show-installed.py
index 737f97e..65aae11 100755
--- a/show-installed.py
+++ b/show-installed.py
@@ -360,7 +360,7 @@ def __main__():
                      choices=('kickstart','human','yum'), default="human",
                      help='yum, kickstart or human; yum gives the result as a yum command line; kickstart the content of a %packages section; "human" readable is default.')
     parser.add_option("-i", "--input", dest="input", action="store", default=None, help="File to read the package list from instead of using the rpmdb. - for stdin. The file must contain package names only separated by white space (including newlines). rpm -qa --qf='%{name}\\n' produces proper output.")
-    parser.add_option("-o", "--output", dest="output", action="store", default=None, help="File to write the result to. Stdout is used if option is omited.")
+    parser.add_option("-o", "--output", dest="output", action="store", default=None, help="File to write the result to. Stdout is used if option is omitted.")
     parser.add_option("-q", "--quiet", dest="quiet", action="store_true", help="Do not show warnings.")
     parser.add_option("-e", "--no-excludes", dest="excludes",
                       action="store_false", default=True,
diff --git a/test/yum-utils-pylintrc b/test/yum-utils-pylintrc
index 1a03789..6acaba4 100644
--- a/test/yum-utils-pylintrc
+++ b/test/yum-utils-pylintrc
@@ -1,6 +1,6 @@
 # lint Python modules using external checkers.
 # 
-# This is the main checker controling the other ones and the reports
+# This is the main checker controlling the other ones and the reports
 # generation. It is itself both a raw checker and an astng checker in order
 # to:
 # * handle message activation / deactivation at the module level
@@ -106,7 +106,7 @@ reports=yes
 
 # Python expression which should return a note less than 10 (10 is the highest
 # note).You have access to the variables errors warning, statement which
-# respectivly contain the number of errors / warnings messages and the total
+# respectively contain the number of errors / warnings messages and the total
 # number of statements analyzed. This is used by the global evaluation report
 # (R0004).
 evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
@@ -246,7 +246,7 @@ int-import-graph=
 # checks for :
 # * methods without self as first argument
 # * overridden methods signature
-# * access only to existant members via self
+# * access only to existent members via self
 # * attributes not defined in the __init__ method
 # * supported interfaces implementation
 # * unreachable code
diff --git a/yumdownloader.py b/yumdownloader.py
index 5942956..03ad62c 100755
--- a/yumdownloader.py
+++ b/yumdownloader.py
@@ -299,7 +299,7 @@ class YumDownloader(YumUtilBase):
             sys.exit(1)
 
     def addCmdOptions(self):
-        # this if for compability with old API (utils.py from yum < 3.2.23)
+        # this if for compatibility with old API (utils.py from yum < 3.2.23)
         if hasattr(self,'getOptionGroup'): # check if the group option API is available
             group = self.getOptionGroup()
         else:


More information about the Yum-commits mailing list