[Pybrainsim-activity] SF.net SVN: pybrainsim:[39] trunk/src/ConnectionDummy.py
Status: Planning
Brought to you by:
rgoj
From: <rg...@us...> - 2009-08-02 18:35:29
|
Revision: 39 http://pybrainsim.svn.sourceforge.net/pybrainsim/?rev=39&view=rev Author: rgoj Date: 2009-08-02 18:35:18 +0000 (Sun, 02 Aug 2009) Log Message: ----------- * Correcting runConnection in ConnectionDummy, so that it also takes an argument, allowing it to be called from Head in the same way as other Connection class objects. Modified Paths: -------------- trunk/src/ConnectionDummy.py Modified: trunk/src/ConnectionDummy.py =================================================================== --- trunk/src/ConnectionDummy.py 2009-08-02 16:29:37 UTC (rev 38) +++ trunk/src/ConnectionDummy.py 2009-08-02 18:35:18 UTC (rev 39) @@ -27,6 +27,6 @@ def printInfo(self): print(self.name + ": A ConnectionDummy object") - def runConnection(self): - Connection.runConnection(self, 0) + def runConnection(self, sourceGeneratorOutput = 0): print("[runConnection] " + self.name + ": Sending output from source to target generator") + Connection.runConnection(self, sourceGeneratorOutput) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |