This bug was fixed in the package pygobject - 3.12.0-1ubuntu1
---------------
pygobject (3.12.0-1ubuntu1) trusty-proposed; urgency=medium
* Add 00upstream-importerror-logging.patch: Raise ImportError when importing
modules not found in repository, instead of logging to stderr. The former
matches the behaviour of "import" in general, and the latter breaks the
possibility of configuring "logging" in your program, as any call to
basicConfig() would happen after the import statements. (LP: #1333512)
-- Martin Pitt <[email protected]> Wed, 25 Jun 2014 08:14:43 +0200
** Changed in: pygobject (Ubuntu Trusty)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1333512
Title:
Failing to import module breaks logging configurability and adds noise
To manage notifications about this bug go to:
https://bugs.launchpad.net/pygobject/+bug/1333512/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs