Commits
231 231 | if type(self.__call__.func_defaults) is NoneType: |
232 232 | casalog.post(scriptstr[0]+'\n', 'INFO') |
233 233 | else: |
234 234 | casalog.post(scriptstr[1][1:]+'\n', 'INFO') |
235 235 | |
236 236 | # Effective call to the task as defined in gcwrap/python/scripts/task_* |
237 237 | result = <xsl:value-of select="$taskname"/>(<xsl:call-template name="doargs2"/>) |
238 238 | |
239 239 | if do_full_logging and casa['state']['telemetry-enabled']: |
240 240 | task_endtime = str(datetime.datetime.now()) |
241 - | casalog.poststat( 'Task' + tname + ' complete. Start time: ' + task_starttime + ' End time: ' + task_endtime ) |
241 + | casalog.poststat( 'Task ' + tname + ' complete. Start time: ' + task_starttime + ' End time: ' + task_endtime ) |
242 242 | casalog.post('##### End Task: ' + tname + ' ' + spaces + ' #####'+ |
243 243 | '\n##########################################') |
244 244 | </xsl:for-each> |
245 245 | <xsl:text disable-output-escaping="yes"> |
246 246 | except Exception, instance: |
247 247 | if(self.__globals__.has_key('__rethrow_casa_exceptions') and self.__globals__['__rethrow_casa_exceptions']) : |
248 248 | raise |
249 249 | else : |
250 250 | #print '**** Error **** ',instance |
251 251 | tname = </xsl:text>'<xsl:value-of select="$taskname"/>'<xsl:text disable-output-escaping="yes"> |