Merge lp:~allenap/launchpad/ec2-niceties into lp:launchpad

Proposed by Gavin Panella
Status: Merged
Approved by: Brad Crittenden
Approved revision: no longer in the source branch.
Merged at revision: not available
Proposed branch: lp:~allenap/launchpad/ec2-niceties
Merge into: lp:launchpad
Diff against target: 24 lines
2 files modified
lib/devscripts/ec2test/__init__.py (+4/-0)
lib/devscripts/ec2test/account.py (+1/-1)
To merge this branch: bzr merge lp:~allenap/launchpad/ec2-niceties
Reviewer Review Type Date Requested Status
Brad Crittenden (community) code Approve
Review via email: mp+12593@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Gavin Panella (allenap) wrote :

Ignore deprecation warnings in boto and add a newline to a log message.

Revision history for this message
Brad Crittenden (bac) wrote :

Nice!

review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'lib/devscripts/ec2test/__init__.py'
--- lib/devscripts/ec2test/__init__.py 2009-09-18 02:23:13 +0000
+++ lib/devscripts/ec2test/__init__.py 2009-09-29 15:55:21 +0000
@@ -19,3 +19,7 @@
19# maybe add similar check for bzrlib?19# maybe add similar check for bzrlib?
20# End20# End
21#############################################################################21#############################################################################
22
23import warnings
24warnings.filterwarnings(
25 "ignore", category=DeprecationWarning, module="boto")
2226
=== modified file 'lib/devscripts/ec2test/account.py'
--- lib/devscripts/ec2test/account.py 2009-09-14 05:14:44 +0000
+++ lib/devscripts/ec2test/account.py 2009-09-29 15:55:21 +0000
@@ -99,7 +99,7 @@
99 # XXX: JonathanLange 2009-06-05: If the security group exists99 # XXX: JonathanLange 2009-06-05: If the security group exists
100 # already, verify that the current IP is permitted; if it is100 # already, verify that the current IP is permitted; if it is
101 # not, make an INFO log and add the current IP.101 # not, make an INFO log and add the current IP.
102 self.log("Security group already in use, so reusing.")102 self.log("Security group already in use, so reusing.\n")
103 return group103 return group
104104
105 security_group = self.conn.create_security_group(105 security_group = self.conn.create_security_group(