Skip to contentSkip to conversation

patman: fix some typos in comments

PATCH New Anatolij Gustschin 3 participants 5 messages Oct 27, 2019 – Nov 14, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 patman: fix some typos in comments

s/Subprocress/Subprocess/
s/easiler/easier/
s/repositiory/repository/
s/rangem/range/
s/Retruns/Returns/

---
 tools/patman/cros_subprocess.py | 4 ++--
 tools/patman/gitutil.py         | 4 ++--
 tools/patman/terminal.py        | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
tools/patman/cros_subprocess.py +2 -2
index 0f0d60dfb7..efd0a5aaf7 100644
@@ -6,11 +6,11 @@
 # Licensed to PSF under a Contributor Agreement.
 # See http://www.python.org/2.4/license for licensing details.
 
-"""Subprocress execution
+"""Subprocess execution
 
 This module holds a subclass of subprocess.Popen with our own required
 features, mainly that we get access to the subprocess output while it
-is running rather than just at the end. This makes it easiler to show
+is running rather than just at the end. This makes it easier to show
 progress information and filter output in real time.
 """
 
tools/patman/gitutil.py +2 -2
index dce7fa25b6..a2a225c6b9 100644
@@ -23,7 +23,7 @@ def LogCmd(commit_range, git_dir=None, oneline=False, reverse=False,
 
     Args:
         commit_range: Range expression to use for log, None for none
-        git_dir: Path to git repositiory (None to use default)
+        git_dir: Path to git repository (None to use default)
         oneline: True to use --oneline, else False
         reverse: True to reverse the log (--reverse)
         count: Number of commits to list, or None for no limit
@@ -166,7 +166,7 @@ def CountCommitsInRange(git_dir, range_expr):
         git_dir: Directory containing git repo
         range_expr: Range to check
     Return:
-        Number of patches that exist in the supplied rangem or None if none
+        Number of patches that exist in the supplied range or None if none
         were found
     """
     pipe = [LogCmd(range_expr, git_dir=git_dir, oneline=True)]
tools/patman/terminal.py +1 -1
index 4ceab189bf..7a3b658b00 100644
@@ -128,7 +128,7 @@ class Color(object):
         return ''
 
     def Stop(self):
-        """Retruns a stop color code.
+        """Returns a stop color code.
 
         Returns:
           If color is enabled, returns an ANSI color reset sequence,
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 patman: fix some typos in comments

Quoted 7 lines · Anatolij Gustschin

s/Subprocress/Subprocess/
s/easiler/easier/
s/repositiory/repository/
s/rangem/range/
s/Retruns/Returns/

Quoted 7 lines
---
 tools/patman/cros_subprocess.py | 4 ++--
 tools/patman/gitutil.py         | 4 ++--
 tools/patman/terminal.py        | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
#2 lore raw

PATCH 1/1 patman: fix some typos in comments

Quoted 7 lines · Anatolij Gustschin

s/Subprocress/Subprocess/
s/easiler/easier/
s/repositiory/repository/
s/rangem/range/
s/Retruns/Returns/

Quoted 7 lines
---
 tools/patman/cros_subprocess.py | 4 ++--
 tools/patman/gitutil.py         | 4 ++--
 tools/patman/terminal.py        | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

Applied to u-boot-dm, thanks!

#3 lore raw

PATCH 1/1 patman: fix some typos in comments

Quoted 7 lines · Anatolij Gustschin

s/Subprocress/Subprocess/
s/easiler/easier/
s/repositiory/repository/
s/rangem/range/
s/Retruns/Returns/

Quoted 7 lines
---
 tools/patman/cros_subprocess.py | 4 ++--
 tools/patman/gitutil.py         | 4 ++--
 tools/patman/terminal.py        | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

Applied to u-boot-dm, thanks!
Applied to u-boot-dm, thanks!

#4 lore raw

PATCH 1/1 patman: fix some typos in comments

Quoted 7 lines · Anatolij Gustschin

s/Subprocress/Subprocess/
s/easiler/easier/
s/repositiory/repository/
s/rangem/range/
s/Retruns/Returns/

Quoted 7 lines
---
 tools/patman/cros_subprocess.py | 4 ++--
 tools/patman/gitutil.py         | 4 ++--
 tools/patman/terminal.py        | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

Applied to u-boot-dm, thanks!
Applied to u-boot-dm, thanks!
Applied to u-boot-dm, thanks!