summaryrefslogtreecommitdiff
path: root/Host
diff options
context:
space:
mode:
authorTat-Chee Wan (USM)2011-02-21 19:54:28 +0800
committerTat-Chee Wan (USM)2011-02-21 19:54:28 +0800
commit0d082916bc023f2e2a2f7c68ca248c8571feac56 (patch)
tree13081cddc8c0dd6b97aef986b70560e3f5f43664 /Host
parent111cce555a3d07bf10a6851ed666a9f9a596d8db (diff)
fix boolean and operator syntax
Diffstat (limited to 'Host')
-rwxr-xr-xHost/nxt-gdb-server.py2
1 files changed, 1 insertions, 1 deletions
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