Parsely / pykafka

Compare 12399ce ... +0 ... 19d87f8

Showing 1 of 1 files from the diff.

@@ -178,6 +178,6 @@
Loading
178 178
        response = struct_helpers.unpack_from(fmt, buff, 0)
179 179
180 180
        self.error_code = response[0]
181 -
        self.error_message = response[1].decode()
181 +
        self.error_message = response[1].decode() if response[1] is not None else None
182 182
        self.auth_bytes = response[2]
183 183
        self.session_lifetime_ms = response[3]

Learn more Showing 7 files with coverage changes found.

Changes in pykafka/utils/socket.py
-1
+1
Loading file...
Changes in pykafka/topic.py
-2
+2
Loading file...
Changes in pykafka/balancedconsumer.py
-1
+1
Loading file...
Changes in pykafka/connection.py
New
Loading file...
Changes in pykafka/simpleconsumer.py
New
Loading file...
Changes in pykafka/broker.py
-1
+1
Loading file...
Changes in pykafka/cluster.py
-3
+3
Loading file...
Files Coverage
pykafka 83.77%
Project Totals (36 files) 83.77%
Loading