Permalink
Browse files

last fixes

  • Loading branch information...
1 parent 6757bbe commit 436cfa10ed092dd5d0f5c3fd23737ec0b984fc3b @thomasjungblut committed Sep 12, 2012
Showing with 1 addition and 4 deletions.
  1. +0 −3 BSPPeer.py
  2. +1 −1 HelloWorldBSP.py
View
@@ -134,23 +134,20 @@ def reopenInput(self):
# TODO counter!
def runSetup(self):
- self.log("Starting setup!")
line = readLine()
# start code is the first
if line.startswith(bp.getProtocolString(bp.RUN_SETUP)):
self.bspClass.setup(self);
self.ack(bp.RUN_SETUP)
def runBSP(self):
- self.log("Starting BSP!")
line = readLine()
# start code is the first
if line.startswith(bp.getProtocolString(bp.RUN_BSP)):
self.bspClass.bsp(self);
self.ack(bp.RUN_BSP)
def runCleanup(self):
- self.log("Starting cleanup!")
line = readLine()
# start code is the first
if line.startswith(bp.getProtocolString(bp.RUN_CLEANUP)):
View
@@ -15,6 +15,6 @@ def bsp(self, peer):
peer.send(otherPeer, ("Hello from " + name + " in superstep " + str(i)))
peer.sync()
for msg in peer.getAllMessages():
- peer.log(msg)
+ peer.write(msg,"")

0 comments on commit 436cfa1

Please sign in to comment.