mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
Remove last instance of pep8 error E701 (more statements on one line).
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Change-Id: I419f0536b43d98ce6bb52c5907413a02ea1a6937
This commit is contained in:
parent
bbaa739bbd
commit
2553714004
@ -124,7 +124,8 @@ class DNSTest(TestCase):
|
|||||||
s.close()
|
s.close()
|
||||||
|
|
||||||
def hexdump(self, src, length=8):
|
def hexdump(self, src, length=8):
|
||||||
N=0; result=''
|
N = 0
|
||||||
|
result = ''
|
||||||
while src:
|
while src:
|
||||||
s,src = src[:length],src[length:]
|
s,src = src[:length],src[length:]
|
||||||
hexa = ' '.join(["%02X"%ord(x) for x in s])
|
hexa = ' '.join(["%02X"%ord(x) for x in s])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user