Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3908082
By: fabioz
It seems like a bug in code analysis. It should stop trying to analyze the
logger
when it gets to the first method...
The following code would work:
class MyLogger(object):
def debug(self):
pass
logger = MyLogger() #instead of using a method to get the logger
from myapp.logger import logger
class Foo(object):
..def __init__(self):
....logger.debug('Creating Foo: %s', self)
Still, please report that as a bug. I'll try to fix it for the next release.
Cheers,
Fabio
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=293649
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Pydev-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-users