From 111cce555a3d07bf10a6851ed666a9f9a596d8db Mon Sep 17 00:00:00 2001 From: Tat-Chee Wan (USM) Date: Mon, 21 Feb 2011 17:32:49 +0800 Subject: fix syntax errors in python script --- Host/nxt-gdb-server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Host') diff --git a/Host/nxt-gdb-server.py b/Host/nxt-gdb-server.py index c745f85..6e73f53 100755 --- a/Host/nxt-gdb-server.py +++ b/Host/nxt-gdb-server.py @@ -91,9 +91,9 @@ class NXTGDBServer: try: s, segno = self.unpack (sock.recv ()) if len (s) == 0: - if segno == 0 && prev_segno == 0: + if segno == 0 & prev_segno == 0: return '' # No message pending - else + else: segno = NXT_RECV_ERR # Keep waiting for segments # Ignore error packets if segno >= 0: -- cgit v1.2.3