Debian Automated Code Analysis

pyflakes analysis of python-cherrypy_2.3.0-3_all.deb

./usr/share/pyshared/cherrypy/_cpserver.py:7: '_cphttptools' imported but unused
./usr/share/pyshared/cherrypy/_cpserver.py:10: 'STARTED' imported but unused
./usr/share/pyshared/cherrypy/_cpwsgiserver.py:324: undefined name 'os'
./usr/share/pyshared/cherrypy/_cpwsgiserver.py:328: undefined name 'os'
./usr/share/pyshared/cherrypy/_cpengine.py:3: 'cgi' imported but unused
./usr/share/pyshared/cherrypy/_cpengine.py:8: 'warnings' imported but unused
./usr/share/pyshared/cherrypy/_cpengine.py:12: 'cptools' imported but unused
./usr/share/pyshared/cherrypy/__init__.py:9: 'from _cperror import *' used; unable to detect undefined names
./usr/share/pyshared/cherrypy/__init__.py:10: 'config' imported but unused
./usr/share/pyshared/cherrypy/__init__.py:28: redefinition of unused 'local' from line 26
./usr/share/pyshared/cherrypy/_cpwsgiserver3.py:50: redefinition of unused 'StringIO' from line 48
./usr/share/pyshared/cherrypy/_cpwsgiserver3.py:62: redefinition of unused 'SSL' from line 59
./usr/share/pyshared/cherrypy/_cphttptools.py:4: 'os' imported but unused
./usr/share/pyshared/cherrypy/_cphttptools.py:210: local variable 'e' is assigned to but never used
./usr/share/pyshared/cherrypy/test/webtest.py:19: 'os' imported but unused
./usr/share/pyshared/cherrypy/test/webtest.py:26: 'from unittest import *' used; unable to detect undefined names
./usr/share/pyshared/cherrypy/test/webtest.py:53: local variable 'timeTaken' is assigned to but never used
./usr/share/pyshared/cherrypy/test/webtest.py:128: redefinition of function 'getchar' from line 123
./usr/share/pyshared/cherrypy/test/webtest.py:280: redefinition of function '__call__' from line 243
./usr/share/pyshared/cherrypy/test/test.py:234: local variable 'name' is assigned to but never used
./usr/share/pyshared/cherrypy/test/test_static_filter.py:6: 'threading' imported but unused
./usr/share/pyshared/cherrypy/test/test_static_filter.py:9: 'cptools' imported but unused
./usr/share/pyshared/cherrypy/test/test_tutorials.py:23: local variable 'module' is assigned to but never used
./usr/share/pyshared/cherrypy/test/test_session_filter.py:4: 'time' imported but unused
./usr/share/pyshared/cherrypy/test/benchmark.py:31: 'traceback' imported but unused
./usr/share/pyshared/cherrypy/test/benchmark.py:367: redefinition of function 'run' from line 363
./usr/share/pyshared/cherrypy/test/test_states.py:162: redefinition of function 'interrupt' from line 146
./usr/share/pyshared/cherrypy/test/modpy.py:32: 'time' imported but unused
./usr/share/pyshared/cherrypy/test/test_noserver.py:18: '_cpwsgi' imported but unused
./usr/share/pyshared/cherrypy/tutorial/bonus-sqlobject.py:35: 'from sqlobject import *' used; unable to detect undefined names
./usr/share/pyshared/cherrypy/tutorial/bonus-sqlobject.py:52: local variable 'contacts' is assigned to but never used
./usr/share/pyshared/cherrypy/tutorial/bonus-sqlobject.py:83: local variable 'contact' is assigned to but never used
./usr/share/pyshared/cherrypy/tutorial/bonus-sqlobject.py:84: local variable 'title' is assigned to but never used
./usr/share/pyshared/cherrypy/filters/wsgiappfilter.py:26: local variable 'no_parts' is assigned to but never used
./usr/share/pyshared/cherrypy/filters/wsgiappfilter.py:28: local variable 'root' is assigned to but never used
./usr/share/pyshared/cherrypy/filters/logdebuginfofilter.py:6: redefinition of unused 'pickle' from line 4
./usr/share/pyshared/cherrypy/filters/logdebuginfofilter.py:6: 'pickle' imported but unused
./usr/share/pyshared/cherrypy/filters/nsgmlsfilter.py:24: local variable 'encoding' is assigned to but never used
./usr/share/pyshared/cherrypy/filters/sessionfilter.py:31: redefinition of unused 'pickle' from line 29
./usr/share/pyshared/cherrypy/filters/sessionfilter.py:337: local variable 'id' is assigned to but never used
./usr/share/pyshared/cherrypy/filters/sessionfilter.py:455: redefinition of function 'generate_session_id' from line 451
./usr/share/pyshared/cherrypy/filters/tidyfilter.py:92: local variable 'tree' is assigned to but never used
./usr/share/pyshared/cherrypy/lib/profiler.py:47: redefinition of unused 'profile' from line 43
./usr/share/pyshared/cherrypy/lib/profiler.py:62: redefinition of unused 'StringIO' from line 60
./usr/share/pyshared/cherrypy/lib/covercp.py:26: redefinition of unused 'StringIO' from line 24
./usr/share/pyshared/cherrypy/lib/covercp.py:26: 'StringIO' imported but unused
./usr/share/pyshared/cherrypy/lib/covercp.py:35: redefinition of unused 'coverage' from line 29
./usr/share/pyshared/cherrypy/lib/covercp.py:40: redefinition of function 'start' from line 30
./usr/share/pyshared/cherrypy/lib/filter/__init__.py:4: 'from cherrypy.filters import *' used; unable to detect undefined names

This report was generated on Sun, 02 Jan 2011 05:31:13 +0000, based on results by pyflakes 0.4.0-1