mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-12 18:32:34 +02:00
Minor Python cleanups to make flake8 pass with the new rules enabled
This commit is contained in:
@ -21,7 +21,6 @@ from binascii import hexlify, unhexlify
|
||||
|
||||
settings = {}
|
||||
|
||||
##### Switch endian-ness #####
|
||||
def hex_switchEndian(s):
|
||||
""" Switches the endianness of a hex string (in pairs of hex chars) """
|
||||
pairList = [s[i:i+2].encode() for i in range(0, len(s), 2)]
|
||||
|
@ -21,7 +21,6 @@ import os.path
|
||||
|
||||
settings = {}
|
||||
|
||||
##### Switch endian-ness #####
|
||||
def hex_switchEndian(s):
|
||||
""" Switches the endianness of a hex string (in pairs of hex chars) """
|
||||
pairList = [s[i:i+2].encode() for i in range(0, len(s), 2)]
|
||||
|
Reference in New Issue
Block a user