Change from numeric to symbolic pylint error codes
Fixing pylint errors
fix Singleton.__call__ error
Fix error wiki url.
Fix some pylint messages.
pep8: fix E128 continuation line under-indented errors
I wasn't sure this was worth fixing at first, but it does look more readablenow.
pep8: Fix E711, comparisons to None should use 'is' or 'is not'
Lengthy discussion of why this is a good thing (I didn't know) at SO:
Changed to make 'output' the default log level.
Pass code check.
Add setLogLevel as an export.
Added two spaces before in-line # comments.
Removed underscores for public Node methods. Minor cleanup & comments.
Rename cliinfo debug level to output
Fix pylint warnings
Add new loglevel to display CLI output only
Also print warning if user chooses a loglevel that will hide CLI output.
Added convenience mode to allow info( 'a', 1, 'b' )
Later we may wish to optimize this so that the arg lists arenot created if the logging level is too low.
Added debug() convenience function.
Added warn to complement info, error.
Added info() and error() as aliases for lg.info() and lg.error()
First crack at restoring mininet python style, assisted by handy'unpep8' script, which does most of the work.
- topo.py is still in pep8- not all examples work, but this is due to other issues
Renamed logging_mod.py -> log.py
Updated other files accordingly.