Skip to content

Commit 1f2c000

Browse files
committed
util.py: fix flakes
1 parent 3229fce commit 1f2c000

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ecdsa/util.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ def entropy_to_bits(ent_256):
2727
return ''.join(bin(ord(x))[2:].zfill(8) for x in ent_256)
2828

2929

30-
if sys.version < '2.7': #Can't add a method to a built-in type so we are stuck with this
30+
if sys.version < '2.7':
31+
# Can't add a method to a built-in type so we are stuck with this
3132
def bit_length(x):
3233
return len(bin(x)) - 2
3334
else:

0 commit comments

Comments
 (0)