Another work-around that should work with the correct code and the
broken code:
def start(self, filename, url, basename, *args, **kwargs):
if len(args) >= 1:
length = args[0]
if len(args) >= 2:
text = args[1]
else:
text = kwargs.get('text')
else:
length = kwargs.get('size') if kwargs.has_key('size') else
kwargs.get('length')
text = kwargs.get('text')
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/776555
Title:
KeyboardInterrupt thrown by urlgrab
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs