- fix typo
authorMark Huang <mlhuang@cs.princeton.edu>
Thu, 11 Jan 2007 22:20:50 +0000 (22:20 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Thu, 11 Jan 2007 22:20:50 +0000 (22:20 +0000)
sm.py

diff --git a/sm.py b/sm.py
index 519d2ef..bbf3b9f 100644 (file)
--- a/sm.py
+++ b/sm.py
@@ -50,7 +50,7 @@ def GetSlivers(data, fullupdate=True):
         finally: f.close()
     except: logger.log_exc()
 
-    if data['node_id'] != node_id: continue
+    if data['node_id'] != node_id: return
     for sliver in data['slivers']:
         rec = sliver.copy()
         rec.setdefault('timestamp', data['timestamp'])