Cole Robinson <crobinso@xxxxxxxxxx> writes: > On 04/14/2014 09:11 AM, Giuseppe Scrivano wrote: >> It fixes two problems: >> >> i) "ftp://" was accepted as valid URL but then it causes this >> exception: >> >> Traceback (most recent call last): >> File "<stdin>", line 1, in <module> >> File "/usr/lib64/python2.7/ftplib.py", line 387, in login >> resp = self.sendcmd('USER ' + user) >> File "/usr/lib64/python2.7/ftplib.py", line 243, in sendcmd >> self.putcmd(cmd) >> File "/usr/lib64/python2.7/ftplib.py", line 178, in putcmd >> self.putline(line) >> File "/usr/lib64/python2.7/ftplib.py", line 173, in putline >> self.sock.sendall(line) >> AttributeError: 'NoneType' object has no attribute 'sendall' >> >> ii) only a cryptic error message "Unable to complete install: '[Errno >> -2] Name or service not known'" was showed to users when the DNS >> lookup failed. The exception is now intercepted and decorated with >> more information. >> >> Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1086554 >> >> Signed-off-by: Giuseppe Scrivano <gscrivan@xxxxxxxxxx> >> --- >> virtinst/urlfetcher.py | 13 ++++++++++--- >> 1 file changed, 10 insertions(+), 3 deletions(-) >> > > ACK thanks, pushed now. Giuseppe _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list