From 6d5927c66716e207bd92b4a4184fdc32665d5164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 7 Jul 2014 20:53:18 +0200 Subject: [PATCH] Rename variable "bytes" to "data" --- qweechat/network.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qweechat/network.py b/qweechat/network.py index eb74a13..5d89141 100644 --- a/qweechat/network.py +++ b/qweechat/network.py @@ -83,8 +83,8 @@ class Network(QtCore.QObject): def _socket_read(self): """Slot: data available on socket.""" - bytes = self._socket.readAll() - self._buffer.append(bytes) + data = self._socket.readAll() + self._buffer.append(data) while len(self._buffer) >= 4: remainder = None length = struct.unpack('>i', self._buffer[0:4])[0]