Comment 3 for bug 680721

Revision history for this message
Tony Byrne (tony-badwolf) wrote : Re: [Bug 680721] Re: logging fails on quickly run

Hi Michael
 Thinking about how this happened, it might be wise to import logging
into every module just in case.

On 11/29/10, Launchpad Bug Tracker <email address hidden> wrote:
> ** Branch linked: lp:quickly
>
> --
> logging fails on quickly run
> https://bugs.launchpad.net/bugs/680721
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Quickly: Fix Committed
>
> Bug description:
> triggering the bug
> $ quickly run
>
> select menu help preferences
> edit the value "I remember stuff"
>
> Traceback (most recent call last):
> File "bin/vanilla-application", line 50, in on_preferences_changed
> logging.debug('main window received preferences changed')
> NameError: global name 'logging' is not defined
>
> It looks like the bug was caused by refactoring code into
> helpers.parse_options() so that logging is no longer set up in
> bin/project_name
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/quickly/+bug/680721/+subscribe
>