ajack 2004/04/11 08:18:43 Modified: python/gump/results resulter.py model.py python/gump/model server.py workspace.py python/gump/document forrest.py Log: Try actually setting the values... Revision Changes Path 1.21 +7 -0 gump/python/gump/results/resulter.py Index: resulter.py =================================================================== RCS file: /home/cvs/gump/python/gump/results/resulter.py,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- resulter.py 11 Apr 2004 01:28:49 -0000 1.20 +++ resulter.py 11 Apr 2004 15:18:43 -0000 1.21 @@ -179,6 +179,13 @@ # Create workspaceResults = WorkspaceResult(self.workspace.getName()) + + # :TODO: Find nicer way to transfer (or just reference) + workspaceResults.startDateTime=self.workspace.getStartDateTime() + workspaceResults.startDateTimeUtc=self.workspace.getStartDateTimeUtc() + workspaceResults.endDateTime=self.workspace.getEndDateTime() + workspaceResults.endDateTimeUtc=self.workspace.getEndDateTimeUtc() + workspaceResults.timezone=self.workspace.getTimezone() # For all modules... for module in self.workspace.getModules(): 1.12 +2 -0 gump/python/gump/results/model.py Index: model.py =================================================================== RCS file: /home/cvs/gump/python/gump/results/model.py,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- model.py 11 Apr 2004 00:40:02 -0000 1.11 +++ model.py 11 Apr 2004 15:18:43 -0000 1.12 @@ -247,8 +247,10 @@ # Timing self.startDateTime=self.dom.documentElement.getAttribute('start') self.startDateTimeUtc=self.dom.documentElement.getAttribute('startUtc') + self.endDateTime=self.dom.documentElement.getAttribute('end') self.endDateTimeUtc=self.dom.documentElement.getAttribute('endUtc') + self.timezone=self.dom.documentElement.getAttribute('tzone') # 1.15 +1 -1 gump/python/gump/model/server.py Index: server.py =================================================================== RCS file: /home/cvs/gump/python/gump/model/server.py,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- server.py 10 Apr 2004 23:19:38 -0000 1.14 +++ server.py 11 Apr 2004 15:18:43 -0000 1.15 @@ -65,7 +65,7 @@ return str(self.xml.url) def hasResultsUrl(self): - return self.hasUrl() + return self.isPython() and self.hasUrl() def getResultsUrl(self): return self.getUrl() + '/results.xml' 1.44 +1 -1 gump/python/gump/model/workspace.py Index: workspace.py =================================================================== RCS file: /home/cvs/gump/python/gump/model/workspace.py,v retrieving revision 1.43 retrieving revision 1.44 diff -u -r1.43 -r1.44 --- workspace.py 10 Apr 2004 23:09:29 -0000 1.43 +++ workspace.py 11 Apr 2004 15:18:43 -0000 1.44 @@ -122,7 +122,7 @@ def getEndDateTime(self): return self.endDateTime - def getStartDateTimeUtc(self): + def getEndDateTimeUtc(self): return self.endDateTimeUtc def getChildren(self): 1.140 +2 -2 gump/python/gump/document/forrest.py Index: forrest.py =================================================================== RCS file: /home/cvs/gump/python/gump/document/forrest.py,v retrieving revision 1.139 retrieving revision 1.140 diff -u -r1.139 -r1.140 --- forrest.py 10 Apr 2004 23:28:03 -0000 1.139 +++ forrest.py 11 Apr 2004 15:18:43 -0000 1.140 @@ -466,8 +466,8 @@ if server.hasResultsUrl(): serverRow.createData().createFork( \ - 'Results', \ - server.getResultsUrl()) + server.getResultsUrl(), \ + 'Results') else: serverRow.createData('Not Available')
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]