0

fixed contrib/testRender.py crashing when -l isn't specified

This commit is contained in:
Aaron Griffith
2011-04-01 21:47:50 -04:00
parent 7463183b9c
commit 3d78e21af7

View File

@@ -131,7 +131,8 @@ try:
print "... done"
stats = get_stats(timelist)
print stats
log.write("%s %s\n" % (commit, repr(stats)))
if log:
log.write("%s %s\n" % (commit, repr(stats)))
except CalledProcessError, e:
if options.fatal_errors:
print