Skip to content

Commit f40d336

Browse files
[STYLE] fixed some typos (- WIP #79 -)
1 parent 7866f7a commit f40d336

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
'.rst': 'restructuredtext',
5656
}
5757

58-
# The encoding of source files. Official sphinx docs reccomend utf-8-sig.
58+
# The encoding of source files. Official sphinx docs recommend utf-8-sig.
5959
source_encoding = 'utf-8-sig'
6060

6161
# The master toctree document.

pythonrepo/pythonrepo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def useTool(tool, *arguments):
102102
try:
103103
TASK_OPTIONS[tool](arguments)
104104
except Exception:
105-
w = str("WARNING - An error occured while")
105+
w = str("WARNING - An error occurred while")
106106
w += str("handling the tool. Abort.")
107107
print(w)
108108
else:
@@ -117,13 +117,13 @@ def main(*argv):
117117
service_cmd = args.some_task
118118
useTool(service_cmd, extra)
119119
except Exception:
120-
w = str("WARNING - An error occured while")
120+
w = str("WARNING - An error occurred while")
121121
w += str("handling the arguments.")
122122
w += str(" Cascading failure.")
123123
print(w)
124124
sys.exit(2)
125125
except Exception:
126-
e = str("CRITICAL - An error occured while handling")
126+
e = str("CRITICAL - An error occurred while handling")
127127
e += str("the cascading failure.")
128128
print(e)
129129
sys.exit(3)

tests/test_usage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def checkPythonErrors(args=None, stderr=None):
113113
taintArgs = buildPythonCommand(args)
114114
theOutput = subprocess.check_output(taintArgs, stderr=stderr)
115115
if isinstance(theOutput, bytes):
116-
# default to utf8 your milage may vary
116+
# default to utf8 your mileage may vary
117117
theOutput = theOutput.decode('utf8')
118118
except Exception as err:
119119
theOutput = None

0 commit comments

Comments
 (0)