Remove print statements
Change-Id: I40a805bee3f10d5989188971423cbb6c07f740c8
This commit is contained in:
@@ -142,7 +142,8 @@ def vpn_ping(address, port, timeout=0.05, session_id=None):
|
||||
sock.close()
|
||||
fmt = '!BQxxxxxQxxxx'
|
||||
if len(received) != struct.calcsize(fmt):
|
||||
print struct.calcsize(fmt)
|
||||
LOG.warn(_('Expected to receive %(exp)s bytes, but actually %(act)s') %
|
||||
dict(exp=struct.calcsize(fmt), act=len(received)))
|
||||
return False
|
||||
(identifier, server_sess, client_sess) = struct.unpack(fmt, received)
|
||||
if identifier == 0x40 and client_sess == session_id:
|
||||
|
||||
Reference in New Issue
Block a user