Browse Source

build: fix typos in script messages (#25766)

David Sanders 4 years ago
parent
commit
818751ff87
2 changed files with 3 additions and 3 deletions
  1. 2 2
      script/check-relative-doc-links.py
  2. 1 1
      script/check-trailing-whitespace.py

+ 2 - 2
script/check-relative-doc-links.py

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

+ 1 - 1
script/check-trailing-whitespace.py

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