+                        except OSError as e:
+                            if e.errno == 5:
+                                pass

This check makes little sense -- if errno is 5 or something else, the
exception is ignored in both cases. So just

   except OSError:
      pass

is sufficient IMHO -- after all, what else can you do, you can't even
print a warning :-)

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

Title:
  /usr/lib/update-notifier/package-data-
  downloader:OSError:process_download_requests:/usr/lib/update-notifier
  /package-data-
  downloader@305:process_download_requests:print_exc:print_exception

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1640318/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to