Skip to content

Commit

Permalink
Spelling fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Jun 4, 2012
1 parent f0aac86 commit 6139990
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion plugins/aliases/aliases.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def getSummary(self):

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
Expand Down
2 changes: 1 addition & 1 deletion plugins/fedorakmod/fedorakmod.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"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)
Expand Down
2 changes: 1 addition & 1 deletion plugins/fs-snapshot/fs-snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
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.
Expand Down
2 changes: 1 addition & 1 deletion repoclosure.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def getBrokenDeps(self, newest=False):

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'):
Expand Down
2 changes: 1 addition & 1 deletion show-installed.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions test/yum-utils-pylintrc
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion yumdownloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def doUtilYumSetup(self,opts):
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:
Expand Down

0 comments on commit 6139990

Please sign in to comment.