-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flash: close tempfile before deleting (#256)
1 parent
5f7f4ed
commit 5f11dbf
Showing
1 changed file
with
1 addition
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -129,6 +129,7 @@ def main(): | |
]) | ||
finally: | ||
if conv: | ||
os.close(bin_handle) | ||
os.unlink(bin) | ||
|
||
|
||
|
5f11dbf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is already done in
bit2bin()
5f11dbf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So why does @kellyjoe39 seem to need another
close
?5f11dbf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code she is referencing does not exist.
5f11dbf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still working off qc1 from anaconda and was typing in patches using vi so perhaps that caused some confusion. Do I need to move to the latest release? Or a source code installation? I don't savor the idea of trying to build all of your code on windows...
5f11dbf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay so you will need all those three patches in sequence:
3ae44e7
18878ba
109ddf9
They are in our anaconda dev channel (with nist_clock, which is the main platform we build/test on) but not in the main channel yet.
5f11dbf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we built those packages (from release-1). But we can do that. I'll let you know when they are available.