summaryrefslogtreecommitdiffstats
path: root/BaseTools
diff options
context:
space:
mode:
authorJoey Vagedes <joey.vagedes@gmail.com>2024-06-26 14:04:28 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-06-30 23:45:58 +0000
commit8c09d862bfb034e00b6b3bc37fe37243c866dd3a (patch)
tree3d16c6300d2b83b4be5467528c5692a3022a4258 /BaseTools
parent3b2025969e6e8a2f6542996182cd4132868641c6 (diff)
downloadedk2-8c09d862bfb034e00b6b3bc37fe37243c866dd3a.tar.gz
edk2-8c09d862bfb034e00b6b3bc37fe37243c866dd3a.tar.bz2
edk2-8c09d862bfb034e00b6b3bc37fe37243c866dd3a.zip
BaseTools: BinToPcd: Remove xdrlib dependencyrelease/rpl_program
The xdrlib dependency was removed in commit 5cadb8ce2148979b6c464f6da5a8cd97425c5165 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 <joey.vagedes@gmail.com>
Diffstat (limited to 'BaseTools')
-rw-r--r--BaseTools/Scripts/BinToPcd.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/BaseTools/Scripts/BinToPcd.py b/BaseTools/Scripts/BinToPcd.py
index 460c08b7f7..be726cc6d8 100644
--- a/BaseTools/Scripts/BinToPcd.py
+++ b/BaseTools/Scripts/BinToPcd.py
@@ -10,13 +10,12 @@ BinToPcd
'''
from __future__ import print_function
-import sys
import argparse
-import re
-import xdrlib
import io
-import struct
import math
+import re
+import struct
+import sys
#
# Globals for help information