Merge lp:~bac/launchpad/bug-567985 into lp:launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jonathan Lange | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~bac/launchpad/bug-567985 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
25 lines (+4/-4) 1 file modified
lib/devscripts/ec2test/ec2test-remote.py (+4/-4) |
||||
To merge this branch: | bzr merge lp:~bac/launchpad/bug-567985 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonathan Lange (community) | Approve | ||
Review via email: mp+23868@code.launchpad.net |
Commit message
Unbreak ec2test-remote send_mail
Description of the change
= Summary =
Programming error breaks ec2test.
== Proposed fix ==
The variable that holds the data read from a file is used to try to
close the file. Don't do that.
== Pre-implementation notes ==
N/A
== Implementation details ==
As above.
== Tests ==
None, sadly.
== Demo and Q/A ==
Run it through ec2. The actual snippet was tested locally.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files:
lib/devscript
== Pyflakes notices ==
lib/devscripts/
35: from __future__ imports must occur at the beginning of the file
from __future__ import with_statement
== Pylint notices ==
lib/devscripts/
35: [W0410] __future__ import is not the first non docstring statement
498: [C0321] More than one statement on a single line
Oh man. I'm so sorry I let this happen.
Goes to show that even making minor changes without testing is doomed to failure.
Thanks for the fix!