Help save net neutrality! Learn more.
Close

#72 disablelevels/enablelevels() in log.py incorrectly mapped

open
nobody
None
5
2010-03-23
2010-03-23
No

The globally defined enablelevels and disablelevels functions calls log.enablelevels(levels) which does not exist. Should be log.enableLevels(levels)

Currrent code:
log = Log()
def enablelevels(levels): log.enablelevels(levels)
def disablelevels(levels): log.disablelevels(levels)

Should read:
log = Log()
def enablelevels(levels): log.enableLevels(levels)
def disablelevels(levels): log.disableLevels(levels)

The Main function calls are correct.
Unless I, of course, am missing something obvious.

PythonCard version 0.82
wxPython version 2.8.10.1
Python version 2.6.4

Discussion


Log in to post a comment.