Skip to content

Commit

Permalink
Stupidly missed a few uses of os.linesep
Browse files Browse the repository at this point in the history
  • Loading branch information
peterc committed Mar 12, 2007
1 parent 2c31037 commit d28c624
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Bio/SeqIO/FastaIO.py
Expand Up @@ -120,9 +120,9 @@ def write_record(self, record):

if self.wrap :
for i in range(0, len(data), self.wrap):
self.handle.write(data[i:i+self.wrap] + os.linesep)
self.handle.write(data[i:i+self.wrap] + "\n")
else :
self.handle.write(data + os.linesep)
self.handle.write(data + "\n")

if __name__ == "__main__" :
import os
Expand Down

0 comments on commit d28c624

Please sign in to comment.