Cole Robinson <[email protected]> writes:

> On 11/20/2014 07:54 AM, Giuseppe Scrivano wrote:
>> VirtualConnection.get_uri_host_port already splits this information
>> taking care of IPv6 addresses, do not split it again.
>>
>> Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1094631
>>
>> Signed-off-by: Giuseppe Scrivano <[email protected]>
>> ---
>>   virtManager/connection.py | 4 ----
>>   1 file changed, 4 deletions(-)
>>
>> diff --git a/virtManager/connection.py b/virtManager/connection.py
>> index a238114..75dce81 100644
>> --- a/virtManager/connection.py
>> +++ b/virtManager/connection.py
>> @@ -382,10 +382,6 @@ class vmmConnection(vmmGObject):
>>               transport = scheme.split("+")[1]
>>               scheme = scheme.split("+")[0]
>>
>> -        if hostname.count(":"):
>> -            port = hostname.split(":")[1]
>> -            hostname = hostname.split(":")[0]
>> -
>>           if hostname:
>>               if show_user and username:
>>                   hostname = username + "@" + hostname
>>
>
> ACK

thanks, pushed now.


Regards,
Giuseppe

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to