From 9da67feecffeecfa4d3eca56abcd54055d38187b Mon Sep 17 00:00:00 2001 From: Rostislav Krasny Date: Fri, 24 Jan 2020 23:15:09 +0200 Subject: [PATCH] Fix a typo Change-Id: I1d1d1c7ec6c0c706eb08ceb803c37e1ce1baf8b3 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/251834 Reviewed-by: David Pursehouse Tested-by: Rostislav Krasny --- platform_utils_win32.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform_utils_win32.py b/platform_utils_win32.py index b5c21fe0..e20755a4 100644 --- a/platform_utils_win32.py +++ b/platform_utils_win32.py @@ -180,7 +180,7 @@ def readlink(path): if reparse_point_handle == INVALID_HANDLE_VALUE: _raise_winerror( get_last_error(), - 'Error opening symblic link \"%s\"'.format(path)) + 'Error opening symbolic link \"%s\"'.format(path)) target_buffer = c_buffer(MAXIMUM_REPARSE_DATA_BUFFER_SIZE) n_bytes_returned = DWORD() io_result = DeviceIoControl(reparse_point_handle, @@ -195,7 +195,7 @@ def readlink(path): if not io_result: _raise_winerror( get_last_error(), - 'Error reading symblic link \"%s\"'.format(path)) + 'Error reading symbolic link \"%s\"'.format(path)) rdb = REPARSE_DATA_BUFFER.from_buffer(target_buffer) if rdb.ReparseTag == IO_REPARSE_TAG_SYMLINK: return _preserve_encoding(path, rdb.SymbolicLinkReparseBuffer.PrintName) @@ -204,7 +204,7 @@ def readlink(path): # Unsupported reparse point type _raise_winerror( ERROR_NOT_SUPPORTED, - 'Error reading symblic link \"%s\"'.format(path)) + 'Error reading symbolic link \"%s\"'.format(path)) def _preserve_encoding(source, target):