From 0d082916bc023f2e2a2f7c68ca248c8571feac56 Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Mon, 21 Feb 2011 19:54:28 +0800 Subject: fix boolean and operator syntax --- Host/nxt-gdb-server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Host/nxt-gdb-server.py b/Host/nxt-gdb-server.py index 6e73f53..2dd1b6a 100755 --- a/Host/nxt-gdb-server.py +++ b/Host/nxt-gdb-server.py @@ -91,7 +91,7 @@ class NXTGDBServer: try: s, segno = self.unpack (sock.recv ()) if len (s) == 0: - if segno == 0 & prev_segno == 0: + if segno == 0 and prev_segno == 0: return '' # No message pending else: segno = NXT_RECV_ERR # Keep waiting for segments -- cgit v1.2.3