Debian Automated Code Analysis

pyflakes analysis of python-twisted-web2_8.1.0-2_all.deb

./usr/share/pyshared/twisted/web2/stream.py:47: redefinition of unused 'mmap' from line 45
./usr/share/pyshared/twisted/web2/stream.py:201: undefined name 'SendfileBuffer'
./usr/share/pyshared/twisted/web2/twcgi.py:40: local variable 'python_path' is assigned to but never used
./usr/share/pyshared/twisted/web2/twcgi.py:346: local variable 'errormsg' is assigned to but never used
./usr/share/pyshared/twisted/web2/static.py:10: 'stat' imported but unused
./usr/share/pyshared/twisted/web2/static.py:593: redefinition of unused 'server' from line 15
./usr/share/pyshared/twisted/web2/twscgi.py:8: 'implements' imported but unused
./usr/share/pyshared/twisted/web2/twscgi.py:11: 'iweb' imported but unused
./usr/share/pyshared/twisted/web2/http.py:15: 'socket' imported but unused
./usr/share/pyshared/twisted/web2/tap.py:2: 'implements' imported but unused
./usr/share/pyshared/twisted/web2/tap.py:6: 'IServiceMaker' imported but unused
./usr/share/pyshared/twisted/web2/tap.py:7: 'IPlugin' imported but unused
./usr/share/pyshared/twisted/web2/tap.py:141: undefined name 'isintance'
./usr/share/pyshared/twisted/web2/tap.py:192: 'DefaultOpenSSLContextFactory' imported but unused
./usr/share/pyshared/twisted/web2/http_headers.py:4: 'types' imported but unused
./usr/share/pyshared/twisted/web2/http_headers.py:77: local variable 'v' is assigned to but never used
./usr/share/pyshared/twisted/web2/http_headers.py:179: redefinition of unused 'time' from line 4
./usr/share/pyshared/twisted/web2/http_headers.py:186: redefinition of unused 'time' from line 4
./usr/share/pyshared/twisted/web2/http_headers.py:198: redefinition of unused 'time' from line 4
./usr/share/pyshared/twisted/web2/http_headers.py:246: local variable 'list' is assigned to but never used
./usr/share/pyshared/twisted/web2/server.py:86: local variable 'parser' is assigned to but never used
./usr/share/pyshared/twisted/web2/server.py:205: local variable 'query' is assigned to but never used
./usr/share/pyshared/twisted/web2/server.py:291: local variable 'failedDeferred' is assigned to but never used
./usr/share/pyshared/twisted/web2/vhost.py:15: 'log' imported but unused
./usr/share/pyshared/twisted/web2/dirlist.py:13: 'iweb' imported but unused
./usr/share/pyshared/twisted/web2/error.py:9: 'from twisted.web2.responsecode import *' used; unable to detect undefined names
./usr/share/pyshared/twisted/web2/test/test_vhost.py:5: 'iweb' imported but unused
./usr/share/pyshared/twisted/web2/test/test_vhost.py:6: 'stream' imported but unused
./usr/share/pyshared/twisted/web2/test/test_compat.py:2: 'sys' imported but unused
./usr/share/pyshared/twisted/web2/test/test_compat.py:22: 'twisted' imported but unused
./usr/share/pyshared/twisted/web2/test/test_wsgi.py:7: 'log' imported but unused
./usr/share/pyshared/twisted/web2/test/test_wsgi.py:12: redefinition of unused 'WSGI' from line 10
./usr/share/pyshared/twisted/web2/test/test_wsgi.py:76: local variable 'writer' is assigned to but never used
./usr/share/pyshared/twisted/web2/test/test_wsgi.py:148: local variable 'write' is assigned to but never used
./usr/share/pyshared/twisted/web2/test/test_wsgi.py:272: local variable 'writer' is assigned to but never used
./usr/share/pyshared/twisted/web2/test/test_http.py:9: 'error' imported but unused
./usr/share/pyshared/twisted/web2/test/test_http.py:738: local variable 'cmds' is assigned to but never used
./usr/share/pyshared/twisted/web2/test/test_http.py:739: local variable 'data' is assigned to but never used
./usr/share/pyshared/twisted/web2/test/test_http.py:1071: redefinition of unused 'ssl' from line 1068
./usr/share/pyshared/twisted/web2/test/test_stream.py:1: 'operator' imported but unused
./usr/share/pyshared/twisted/web2/test/test_stream.py:6: 'Interface' imported but unused
./usr/share/pyshared/twisted/web2/test/test_stream.py:6: 'Attribute' imported but unused
./usr/share/pyshared/twisted/web2/test/test_stream.py:8: 'sibpath' imported but unused
./usr/share/pyshared/twisted/web2/test/test_stream.py:248: redefinition of function 'test_readExactly' from line 242
./usr/share/pyshared/twisted/web2/test/test_stream.py:518: 'from twisted.web2.stream import *' used; unable to detect undefined names
./usr/share/pyshared/twisted/web2/test/test_plugin.py:2: 'resource' imported but unused
./usr/share/pyshared/twisted/web2/test/test_http_headers.py:421: local variable 'table' is assigned to but never used
./usr/share/pyshared/twisted/web2/test/test_http_headers.py:713: redefinition of unused 'time' from line 2
./usr/share/pyshared/twisted/web2/test/test_cgi.py:5: 'util' imported but unused
./usr/share/pyshared/twisted/web2/test/test_scgi.py:1: 'unittest' imported but unused
./usr/share/pyshared/twisted/web2/test/test_scgi.py:4: 'IPv4Address' imported but unused
./usr/share/pyshared/twisted/web2/test/test_scgi.py:7: 'TestRequest' imported but unused
./usr/share/pyshared/twisted/web2/test/test_scgi.py:7: 'TestClient' imported but unused
./usr/share/pyshared/twisted/web2/test/test_scgi.py:12: 'server' imported but unused
./usr/share/pyshared/twisted/web2/test/test_scgi.py:14: 'stream' imported but unused
./usr/share/pyshared/twisted/web2/test/test_scgi.py:40: undefined name 'http'
./usr/share/pyshared/twisted/web2/test/test_scgi.py:40: undefined name 'responsecode'
./usr/share/pyshared/twisted/web2/test/test_scgi.py:82: redefinition of unused 'stream' from line 14
./usr/share/pyshared/twisted/web2/channel/cgi.py:8: 'server' imported but unused
./usr/share/pyshared/twisted/web2/channel/cgi.py:21: undefined name '_abortWithError'
./usr/share/pyshared/twisted/web2/channel/cgi.py:94: undefined name '_abortWithError'
./usr/share/pyshared/twisted/web2/channel/scgi.py:29: undefined name '_abortWithError'
./usr/share/pyshared/twisted/web2/filter/gzip.py:68: local variable 'compressor' is assigned to but never used
./usr/share/doc/python-twisted-web2/examples/auth/credsetup.py:1: 'Interface' imported but unused

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