Skip to content

Commit

Permalink
Fixed a bug of EOL. Refs #9101.
Browse files Browse the repository at this point in the history
  • Loading branch information
wdzhou committed Mar 24, 2014
1 parent 4dccf8c commit 0828e67
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -162,7 +162,6 @@ def _createLogFile(self):
wbuf += "%s" % (title)
if ititle < len(self._headerTitles)-1:
wbuf += "\t"
wbuf += "\n"

try:
ofile = open(self._logfilename, "w")
Expand Down Expand Up @@ -251,7 +250,7 @@ def _appendExpLog(self, logvaluedict):

# Append to file
lfile = open(self._logfilename, "a")
lfile.write("%s\n" %(wbuf))
lfile.write("\n%s" %(wbuf))
lfile.close()

return
Expand Down

0 comments on commit 0828e67

Please sign in to comment.