Commit e29cff96 authored by Ignacio Corderi's avatar Ignacio Corderi
Browse files

Removed extra print added during development

parent 23bd65f4
Loading
Loading
Loading
Loading
+0 −13
Original line number Diff line number Diff line
@@ -48,18 +48,6 @@ def calculate_hmac(secret, message):
    # always add command
    update(message.command)

    # skip value if message.command.body has a tag

    # Value dropped from HMAC on Dec 17

#     try:
#         skipValue = bool(message.command.body.keyValue.tag)
#     except AttributeError:
#         skipValue = False
#
#     if not skipValue:
#         update(message.value)

    d = mac.digest()
    if LOG.isEnabledFor(logging.DEBUG):
        LOG.debug('message hmac: %s' % hexlify(d))
@@ -148,7 +136,6 @@ class BaseClient(object):
        self.update_header(h)
        self.network_send(h,v)
        r = self.network_recv()
        print "Connection: " + str(self.connection_id)

    def has_data_available(self):
        tmp = self._socket.recv(1, socket.MSG_PEEK)