Skip to content

Commit

Permalink
Remove unnecessary flush()
Browse files Browse the repository at this point in the history
close() implies flush()
  • Loading branch information
jirutka committed Aug 20, 2014
1 parent ac31af9 commit e326457
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rsub.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ def on_done(self):
try:
temp_file = open(self.temp_path, "wb+")
temp_file.write(self.file[:self.file_size])
temp_file.flush()
temp_file.close()
except IOError as e:
# Remove the file if it exists.
Expand Down

0 comments on commit e326457

Please sign in to comment.