From: Arfrever Frehtes Taifersar Arahesis Date: Thu, 31 Jan 2013 03:58:23 +0000 (+0100) Subject: Fix some typos. X-Git-Tag: v2.2.0_alpha162~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f5c71c9e7bf6d0913d2483eb3392f162bfbd3626;p=portage.git Fix some typos. --- diff --git a/pym/_emerge/SpawnProcess.py b/pym/_emerge/SpawnProcess.py index ebba7d3d4..9155050ab 100644 --- a/pym/_emerge/SpawnProcess.py +++ b/pym/_emerge/SpawnProcess.py @@ -76,7 +76,7 @@ class SpawnProcess(SubProcess): else: # Create a dummy pipe that PipeLogger uses to efficiently - # monitors for process exit by listening for the EOF event. + # monitor for process exit by listening for the EOF event. # Re-use of the allocated fd number for the key in fd_pipes # guarantees that the keys will not collide for similarly # allocated pipes which are used by callers such as diff --git a/pym/_emerge/resolver/slot_collision.py b/pym/_emerge/resolver/slot_collision.py index f8e1e4ecd..a99d59645 100644 --- a/pym/_emerge/resolver/slot_collision.py +++ b/pym/_emerge/resolver/slot_collision.py @@ -320,7 +320,7 @@ class slot_conflict_handler(object): if violated_atom.use is None: # Something like bug #453400 caused the # above findAtomForPackage call to - # to return None unexpectedly. + # return None unexpectedly. msg = ("\n\n!!! BUG: Detected " "USE dep match inconsistency:\n" "\tppkg: %s\n" diff --git a/pym/portage/process.py b/pym/portage/process.py index d677b9fa8..89ebd0553 100644 --- a/pym/portage/process.py +++ b/pym/portage/process.py @@ -422,7 +422,7 @@ def _setup_pipes(fd_pipes, close_fds=True): Even when close_fds is False, file descriptors referenced as values in fd_pipes are automatically closed if they do not also occur as keys in fd_pipes. It is assumed that the caller will - explicitely add them to the fd_pipes keys if they are intended + explicitly add them to the fd_pipes keys if they are intended to remain open. This allows for convenient elimination of unnecessary duplicate file descriptors. diff --git a/pym/portage/util/__init__.py b/pym/portage/util/__init__.py index c148a739d..da5277bff 100644 --- a/pym/portage/util/__init__.py +++ b/pym/portage/util/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2004-2012 Gentoo Foundation +# Copyright 2004-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 __all__ = ['apply_permissions', 'apply_recursive_permissions', @@ -1236,7 +1236,7 @@ class atomic_ofstream(ObjectProxy): self.close() def __del__(self): - """If the user does not explicitely call close(), it is + """If the user does not explicitly call close(), it is assumed that an error has occurred, so we abort().""" try: f = object.__getattribute__(self, '_file')