Remove property on virtual_host in TransportURL

This isn't useful at all.

Change-Id: I1025da66a0f382cc3ecec15acf01890d75257a6a
This commit is contained in:
Julien Danjou 2013-11-12 17:48:47 +01:00
parent 0b078b6062
commit c65bfb7a55

@ -226,7 +226,7 @@ class TransportURL(object):
self.conf = conf
self.conf.register_opts(_transport_opts)
self._transport = transport
self._virtual_host = virtual_host
self.virtual_host = virtual_host
self._hosts = hosts
if self._hosts is None:
self._hosts = []
@ -242,14 +242,6 @@ class TransportURL(object):
def transport(self, value):
self._transport = value
@property
def virtual_host(self):
return self._virtual_host
@virtual_host.setter
def virtual_host(self, value):
self._virtual_host = value
@property
def hosts(self):
return self._hosts