I can import logging or import logging.config, but if I attempt to import both, I get a warning for the first that it is an unused import and for the second I get Import redefinition.
Is this an coding error on my part of a error in PyDev Extensions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can import logging or import logging.config, but if I attempt to import both, I get a warning for the first that it is an unused import and for the second I get Import redefinition.
Is this an coding error on my part of a error in PyDev Extensions?
Actually, if you do:
import logging.config
You'll already have 'logging' in your namespace, so, you don't need to add another 'import logging'.
Cheers,
Fabio