build: fix typos in script messages (#25766)
This commit is contained in:
parent
15d7d4b40f
commit
818751ff87
2 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ def getBrokenLinks(filepath):
|
|||
f = open(filepath, 'r')
|
||||
lines = f.readlines()
|
||||
except KeyboardInterrupt:
|
||||
print('Keyboard interruption whle parsing. Please try again.')
|
||||
print('Keyboard interruption while parsing. Please try again.')
|
||||
finally:
|
||||
f.close()
|
||||
|
||||
|
@ -72,7 +72,7 @@ def getBrokenLinks(filepath):
|
|||
newFile = open(tempFile, 'r')
|
||||
newLines = newFile.readlines()
|
||||
except KeyboardInterrupt:
|
||||
print('Keyboard interruption whle parsing. Please try again.')
|
||||
print('Keyboard interruption while parsing. Please try again.')
|
||||
finally:
|
||||
newFile.close()
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ def hasTrailingWhiteSpace(filepath, fix):
|
|||
f = open(filepath, 'r')
|
||||
lines = f.read().splitlines()
|
||||
except KeyboardInterrupt:
|
||||
print('Keyboard interruption whle parsing. Please try again.')
|
||||
print('Keyboard interruption while parsing. Please try again.')
|
||||
finally:
|
||||
f.close()
|
||||
|
||||
|
|
Loading…
Reference in a new issue