So, I went ahead and made a different version of the patch which sends
asyncore's logging output to syslog, instead of stderr.  This keep's
apt-get's output clean.

I think this is the patch I'd prefer.  However, I should probably also
bark up the tree of asyncore.py and ask why they are calling 'print' on
something labelled as an 'error' instead of just throwing an exception
(which would allow apt-avahi-discover to deal with it appropriately).

(see attached patch).


** Patch added: "Revised, syslog-based solution."
   
https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/1505670/+attachment/4498666/+files/apt-avahi-discover-syslog.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1505670

Title:
  "uncaptured python exception"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/squid-deb-proxy/+bug/1505670/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to