From 0cbff0d182e439418874cf3421bcbba28f7c2d6d 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] BaseTools: BinToPcd: Remove xdrlib dependency The xdrlib dependency was removed in commit 5cadb8c but the actual import of the module was not removed. This commit removes the import of xdrlib and sorts the imports. Signed-off-by: Joey Vagedes --- 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 460c08b7f7c..040cd9631c4 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