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')
|
f = open(filepath, 'r')
|
||||||
lines = f.readlines()
|
lines = f.readlines()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print('Keyboard interruption whle parsing. Please try again.')
|
print('Keyboard interruption while parsing. Please try again.')
|
||||||
finally:
|
finally:
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ def getBrokenLinks(filepath):
|
||||||
newFile = open(tempFile, 'r')
|
newFile = open(tempFile, 'r')
|
||||||
newLines = newFile.readlines()
|
newLines = newFile.readlines()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print('Keyboard interruption whle parsing. Please try again.')
|
print('Keyboard interruption while parsing. Please try again.')
|
||||||
finally:
|
finally:
|
||||||
newFile.close()
|
newFile.close()
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ def hasTrailingWhiteSpace(filepath, fix):
|
||||||
f = open(filepath, 'r')
|
f = open(filepath, 'r')
|
||||||
lines = f.read().splitlines()
|
lines = f.read().splitlines()
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print('Keyboard interruption whle parsing. Please try again.')
|
print('Keyboard interruption while parsing. Please try again.')
|
||||||
finally:
|
finally:
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue