Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1094)

Unified Diff: boto/ec2/elb/loadbalancer.py

Issue 8669001: Pull in upstream boto from github at bcb719937de9ac2851e632d62b777352029a6d55 (Closed) Base URL: svn://svn.chromium.org/boto
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « boto/ec2/elb/__init__.py ('k') | boto/ec2/instance.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: boto/ec2/elb/loadbalancer.py
diff --git a/boto/ec2/elb/loadbalancer.py b/boto/ec2/elb/loadbalancer.py
index 3c459c1cd006fdab6daeea9f406b90b6c774a943..df360ec27cd03f09d665aeef221adb62255f1e35 100644
--- a/boto/ec2/elb/loadbalancer.py
+++ b/boto/ec2/elb/loadbalancer.py
@@ -167,10 +167,8 @@ class LoadBalancer(object):
def delete_listeners(self, listeners):
return self.connection.delete_load_balancer_listeners(self.name, listeners)
- def delete_listener(self, inPort, outPort=None, proto="tcp"):
- if outPort == None:
- outPort = inPort
- return self.delete_listeners([(inPort, outPort, proto)])
+ def delete_listener(self, inPort):
+ return self.delete_listeners([inPort])
def delete_policy(self, policy_name):
"""
« no previous file with comments | « boto/ec2/elb/__init__.py ('k') | boto/ec2/instance.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698