/[escript]/trunk/escript/py_src/benchmark.py
ViewVC logotype

Diff of /trunk/escript/py_src/benchmark.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 387 by gross, Tue Dec 20 00:37:20 2005 UTC revision 390 by gross, Tue Dec 20 03:39:24 2005 UTC
# Line 120  class BenchmarkSuite(object): Line 120  class BenchmarkSuite(object):
120             out+=self[i].getHTML(filter=filter,level=min(level+1,self.MAX_LEVEL))             out+=self[i].getHTML(filter=filter,level=min(level+1,self.MAX_LEVEL))
121             out+="<p>\n"             out+="<p>\n"
122         if level==1:         if level==1:
123             out+="<hr><p align=\"center\">by %s at %s</p>\n"%(os.getlogin(),time.strftime('%X %x %Z'))             try:
124                   name=os.getlogin()
125                   out+="<hr><p align=\"center\">by %s at %s</p>\n"%(name,time.strftime('%X %x %Z'))
126               except OSError:
127                   out+="<hr><p align=\"center\">%s</p>\n"%(time.strftime('%X %x %Z'))
128                  
129             out+="</BODY></HTML>\n"             out+="</BODY></HTML>\n"
130         return out         return out
131    

Legend:
Removed from v.387  
changed lines
  Added in v.390

  ViewVC Help
Powered by ViewVC 1.1.26