Changeset: 8f556dc33155 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=8f556dc33155 Modified Files: clients/python/monetdb/mapi.py clients/python3/monetdb/mapi.py Branch: Oct2012 Log Message:
bugfix backport from default diffs (24 lines): diff --git a/clients/python/monetdb/mapi.py b/clients/python/monetdb/mapi.py --- a/clients/python/monetdb/mapi.py +++ b/clients/python/monetdb/mapi.py @@ -232,7 +232,7 @@ class Server(object): count = bytes while count > 0: try: - recv = self.socket.recv(bytes) + recv = self.socket.recv(count) logger.debug("II: package size: %i payload: %s" % (len(recv), recv)) except socket.error, error: raise OperationalError(error[1]) diff --git a/clients/python3/monetdb/mapi.py b/clients/python3/monetdb/mapi.py --- a/clients/python3/monetdb/mapi.py +++ b/clients/python3/monetdb/mapi.py @@ -230,7 +230,7 @@ class Server: count = bytes while count > 0: try: - recv = self.socket.recv(bytes) + recv = self.socket.recv(count) logger.debug("II: package size: %i payload: %s" % (len(recv), recv)) except socket.error as error: raise OperationalError(error[1]) _______________________________________________ Checkin-list mailing list Checkin-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/checkin-list