Commit 94acb7ea authored by Ignacio Corderi's avatar Ignacio Corderi
Browse files

Fixed error when MAgic number is wrong

parent 78de6efc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ This section will document changes to the library since the last release

## Bug Fixes
- Fixed problem with status validation on the AdminClient
- Fixed error message when MAgic number is invalid

Changes from 0.7.1 to 0.7.2
===========================
+1 −1
Original line number Diff line number Diff line
@@ -257,7 +257,7 @@ class BaseClient(object):
        magic, proto_ln, value_ln = struct.unpack_from(">bii", buffer(msg))

        if magic!= 70:
            LOG.warn("Magic number = {0}".format(self.bytearray_to_hex(magic)))
            LOG.warn("Magic number = {0}".format(magic))
            raise common.KineticClientException("Invalid Magic Value!") # 70 = 'F'

        # read proto message