"from logging import *" causes an error under Ubuntu Karmic

Valery khamenya at gmail.com
Sun Oct 4 03:11:17 EDT 2009


Hi all

is it a pure Ubuntu Karmic (beta) issue?..

$ python
Python 2.6.3 (r263:75183, Oct  3 2009, 11:20:50)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from logging import *
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'NullHandler'

$ uname -a
Linux vaktop 2.6.31-11-generic #38-Ubuntu SMP Fri Oct 2 11:55:55 UTC
2009 i686 GNU/Linux

--
regards
Valery



More information about the Python-list mailing list