Commit ab4a6aba7f715cff2486e747e4c288043914310a

Authored by Anatolij Gustschin
Committed by Simon Glass
1 parent 4ecb506434

patman: fix some typos in comments

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

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>

Showing 3 changed files with 5 additions and 5 deletions Side-by-side Diff

tools/patman/cros_subprocess.py
... ... @@ -6,11 +6,11 @@
6 6 # Licensed to PSF under a Contributor Agreement.
7 7 # See http://www.python.org/2.4/license for licensing details.
8 8  
9   -"""Subprocress execution
  9 +"""Subprocess execution
10 10  
11 11 This module holds a subclass of subprocess.Popen with our own required
12 12 features, mainly that we get access to the subprocess output while it
13   -is running rather than just at the end. This makes it easiler to show
  13 +is running rather than just at the end. This makes it easier to show
14 14 progress information and filter output in real time.
15 15 """
16 16  
tools/patman/gitutil.py
... ... @@ -23,7 +23,7 @@
23 23  
24 24 Args:
25 25 commit_range: Range expression to use for log, None for none
26   - git_dir: Path to git repositiory (None to use default)
  26 + git_dir: Path to git repository (None to use default)
27 27 oneline: True to use --oneline, else False
28 28 reverse: True to reverse the log (--reverse)
29 29 count: Number of commits to list, or None for no limit
... ... @@ -166,7 +166,7 @@
166 166 git_dir: Directory containing git repo
167 167 range_expr: Range to check
168 168 Return:
169   - Number of patches that exist in the supplied rangem or None if none
  169 + Number of patches that exist in the supplied range or None if none
170 170 were found
171 171 """
172 172 pipe = [LogCmd(range_expr, git_dir=git_dir, oneline=True)]
tools/patman/terminal.py
... ... @@ -128,7 +128,7 @@
128 128 return ''
129 129  
130 130 def Stop(self):
131   - """Retruns a stop color code.
  131 + """Returns a stop color code.
132 132  
133 133 Returns:
134 134 If color is enabled, returns an ANSI color reset sequence,