mirror of https://github.com/celery/kombu.git
commit
415dcc5ff8
1
AUTHORS
1
AUTHORS
|
@ -43,6 +43,7 @@ James Turk <james.p.turk@gmail.com>
|
|||
Jason Cater <jason@ncsfulfillment.com>
|
||||
Jasper Bryant-Greene <jbg@rf.net.nz>
|
||||
Jeff Balogh <me@jeffbalogh.org>
|
||||
John Shuping <jshuping@acm.org>
|
||||
John Spray <jcspray@gmail.com>
|
||||
John Watson <john@disqus.com>
|
||||
Jonathan Halcrow <jonathan.halcrow@gmail.com>
|
||||
|
|
|
@ -545,12 +545,9 @@ class Connection(object):
|
|||
transport_cls = RESOLVE_ALIASES.get(transport_cls, transport_cls)
|
||||
D = self.transport.default_connection_params
|
||||
|
||||
if self.alt:
|
||||
hostname = ";".join(self.alt)
|
||||
else:
|
||||
hostname = self.hostname or D.get('hostname')
|
||||
if self.uri_prefix:
|
||||
hostname = '%s+%s' % (self.uri_prefix, hostname)
|
||||
hostname = self.hostname or D.get('hostname')
|
||||
if self.uri_prefix:
|
||||
hostname = '%s+%s' % (self.uri_prefix, hostname)
|
||||
|
||||
info = (('hostname', hostname),
|
||||
('userid', self.userid or D.get('userid')),
|
||||
|
@ -565,6 +562,10 @@ class Connection(object):
|
|||
('login_method', self.login_method or D.get('login_method')),
|
||||
('uri_prefix', self.uri_prefix),
|
||||
('heartbeat', self.heartbeat))
|
||||
|
||||
if self.alt:
|
||||
info += (('alternates', self.alt),)
|
||||
|
||||
return info
|
||||
|
||||
def info(self):
|
||||
|
|
Loading…
Reference in New Issue