From e0afbf07ed3c6f2e99b79eff8b68b56102bf1f78 Mon Sep 17 00:00:00 2001 From: Antaeus Kleinert-Strand <59579659+antklein@users.noreply.github.com> Date: Mon, 20 May 2024 11:37:48 -0700 Subject: [PATCH] BinToPcd.py: Remove xdrlib import (#852) ## Description * Run Python sort on imports * Remove xdrlib import as it is not used and will be deprecated in Python 3.13 * This change was missed as part of implementing Python updates between release/202302 and release/202311 branches. * #604 - [ ] Impacts functionality? - [ ] Impacts security? - [ ] Breaking change? - [ ] Includes tests? - [ ] Includes documentation? ## How This Was Tested Validated this change does not impact the functionality of the BinToPcd.py script. ## Integration Instructions N/A --- BaseTools/Scripts/BinToPcd.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/BaseTools/Scripts/BinToPcd.py b/BaseTools/Scripts/BinToPcd.py index 8d19621890..688a59e6f9 100644 --- a/BaseTools/Scripts/BinToPcd.py +++ b/BaseTools/Scripts/BinToPcd.py @@ -10,13 +10,14 @@ ''' from __future__ import print_function -import sys +# MU_CHANGE BEGIN: isort imports import argparse -import re -import xdrlib import io -import struct import math +import re +import struct +import sys +# MU_CHANGE END # # Globals for help information