Ticket #8669 (closed defect: fixed)
interrupting download in sage-spkg should delete the spkg file
|Reported by:||jhpalmieri||Owned by:||tbd|
|Report Upstream:||N/A||Reviewers:||Tim Dumol|
|Authors:||John Palmieri||Merged in:||sage-4.4.alpha1|
If you run sage-spkg PKG_NAME and hit ctrl-c during downloading, you end up with a partial spkg file. Then if you run sage-spkg PKG_NAME again, it just opens up that file and then crashes because the file is incomplete.
The attached patch attempts to fix this. It seems to work, deleting the partially downloaded file, but for reasons I don't understand, it's not printing any of the accompanying messages.
- Status changed from needs_review to positive_review
- Reviewers set to Tim Dumol