build: fix typos in script messages (#25766)

This commit is contained in:
David Sanders 2020-10-05 07:38:50 -07:00 committed by GitHub
parent 15d7d4b40f
commit 818751ff87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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()

View file

@ -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()