logging: AttributeError: 'module' object has no attribute 'getLogger'
Simon Brunning
simon at brunningonline.net
Sun May 23 10:04:01 EDT 2010
On 23 May 2010 14:46, Frank GOENNINGER <dg1sbg at googlemail.com> wrote:
> Traceback (most recent call last):
> File "/.../src/pib/logging.py", line 37, in <module>
> main()
Here's a clue - looks like your own module is called logging. That's
what's getting imported by your import. Try naming your module
something else, and you should be golden.
--
Cheers,
Simon B.
More information about the Python-list
mailing list