1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +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:
Jelmer Vernooij 2014-06-02 01:34:47 +02:00 committed by Andrew Bartlett
parent bbaa739bbd
commit 2553714004

View File

@ -124,7 +124,8 @@ class DNSTest(TestCase):
s.close()
def hexdump(self, src, length=8):
N=0; result=''
N = 0
result = ''
while src:
s,src = src[:length],src[length:]
hexa = ' '.join(["%02X"%ord(x) for x in s])