Skip to content

Commit bdc5693

Browse files
committed
Fix flake8 warning about whitespace around operator.
1 parent a0ed4ee commit bdc5693

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

iptools/ipv6.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ def long2ip(l):
212212
# format as one big hex value
213213
hex_str = '%032x' % l
214214
# split into double octet chunks without padding zeros
215-
hextets = ['%x' % int(hex_str[x:x+4], 16) for x in range(0, 32, 4)]
215+
hextets = ['%x' % int(hex_str[x:x + 4], 16) for x in range(0, 32, 4)]
216216

217217
# find and remove left most longest run of zeros
218218
dc_start, dc_len = (-1, 0)

0 commit comments

Comments
 (0)