Skip to content

Commit

Permalink
BinToPcd.py: Remove xdrlib import (#852)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
antklein authored May 20, 2024
1 parent b324d96 commit e0afbf0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions BaseTools/Scripts/BinToPcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0afbf0

Please sign in to comment.