mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 12:41:58 +00:00
typofix - https://github.com/vlajos/misspell_fixer
This commit is contained in:
@@ -57,7 +57,7 @@ def file_passes(filename, extension, ref, regexs):
|
||||
if p.search(d):
|
||||
return False
|
||||
|
||||
# Replace all occurances of the regex "2015|2014" with "YEAR"
|
||||
# Replace all occurrences of the regex "2015|2014" with "YEAR"
|
||||
p = regexs["date"]
|
||||
for i, d in enumerate(data):
|
||||
(data[i], found) = p.subn('YEAR', d)
|
||||
|
Reference in New Issue
Block a user