|
From: <mor...@us...> - 2008-11-06 02:05:20
|
Revision: 3274
http://ecell.svn.sourceforge.net/ecell/?rev=3274&view=rev
Author: moriyoshi
Date: 2008-11-06 01:35:42 +0000 (Thu, 06 Nov 2008)
Log Message:
-----------
* Hmm.
Modified Paths:
--------------
ecell3/branches/ecell-3.1/ecell/pyecell/ecell/SessionManager/SessionManager.py
Modified: ecell3/branches/ecell-3.1/ecell/pyecell/ecell/SessionManager/SessionManager.py
===================================================================
--- ecell3/branches/ecell-3.1/ecell/pyecell/ecell/SessionManager/SessionManager.py 2008-10-29 16:17:39 UTC (rev 3273)
+++ ecell3/branches/ecell-3.1/ecell/pyecell/ecell/SessionManager/SessionManager.py 2008-11-06 01:35:42 UTC (rev 3274)
@@ -499,7 +499,7 @@
Return str : the stdout
'''
- return self.__jobDict[ jobid ].getStdout()
+ return self.jobs[ jobid ].getStdout()
def getStderr( self, jobid ):
'''return the stderr of the job
@@ -508,7 +508,7 @@
Return str : the stderr
'''
- return self.__jobDict[ jobid ].getStderr()
+ return self.jobs[ jobid ].getStderr()
def getJobDirectory( self, jobid ):
'''Return the job directory name
@@ -519,7 +519,7 @@
'''
# return the path of the job directory
- return self.__jobDict[ jobid ].getJobDirectory()
+ return self.jobs[ jobid ].getJobDirectory()
def setRetryMaxCount( self, count ):
'''Set retry max count.
@@ -1134,7 +1134,7 @@
signal.getsignal( emitted_signum[ 0 ] )( emitted_signum,
inspect.currentframe() )
- def stop( self, jobid=0 ):
+ def stop( self, jobid = 0 ):
'''stop jobs.
Change the statuses of QUEUED or RUNNING jobs to ERROR.
About FINISHED jobs, do nothing.
@@ -1146,12 +1146,12 @@
# stops all jobs
if jobid == 0:
- for job in self.__jobDict.values():
+ for job in self.jobs.values():
job.stop()
# stops one job
else:
- self.__jobDict[jobid].stop()
+ self.jobs[jobid].stop()
def stopRunningSessionProxies( self ):
'''Stop running jobs.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|