Debian Automated Code Analysis

pyflakes analysis of python-pexpect_2.3-1_all.deb

./usr/share/doc/python-pexpect/examples/ssh_tunnel.py:59: unexpected indent
	        print 'tunnel OK'
         ^
./usr/share/doc/python-pexpect/examples/fix_cvs_files.py:30: unexpected indent
	fin = open(filename, 'rb')
 ^
./usr/share/doc/python-pexpect/examples/chess.py:26: invalid syntax
        def read_until_cursor (self, r,c)
                                          ^
./usr/share/pyshared/pxssh.py:7: 'from pexpect import *' used; unable to detect undefined names
./usr/share/pyshared/pxssh.py:8: 'pexpect' imported but unused
./usr/share/pyshared/pxssh.py:138: local variable 'x' is assigned to but never used
./usr/share/pyshared/ANSI.py:13: 'copy' imported but unused
./usr/share/pyshared/ANSI.py:118: undefined name 'arg'
./usr/share/pyshared/ANSI.py:120: undefined name 'arg'
./usr/share/pyshared/ANSI.py:122: undefined name 'arg'
./usr/share/pyshared/ANSI.py:149: local variable 'screen' is assigned to but never used
./usr/share/pyshared/ANSI.py:150: local variable 'mode' is assigned to but never used
./usr/share/pyshared/fdpexpect.py:7: 'from pexpect import *' used; unable to detect undefined names
./usr/share/pyshared/pexpect.py:252: local variable 'e' is assigned to but never used
./usr/share/pyshared/pexpect.py:829: local variable 'e' is assigned to but never used
./usr/share/pyshared/pexpect.py:1074: local variable 'e' is assigned to but never used
./usr/share/doc/python-pexpect/examples/chess3.py:8: 'string' imported but unused
./usr/share/doc/python-pexpect/examples/chess3.py:79: 'os' imported but unused
./usr/share/doc/python-pexpect/examples/chess3.py:136: undefined name 'g'
./usr/share/doc/python-pexpect/examples/chess2.py:8: 'string' imported but unused
./usr/share/doc/python-pexpect/examples/chess2.py:10: 'os' imported but unused
./usr/share/doc/python-pexpect/examples/chess2.py:129: undefined name 'g'
./usr/share/doc/python-pexpect/examples/sshls.py:54: undefined name 'traceback'
./usr/share/doc/python-pexpect/examples/astat.py:16: 're' imported but unused
./usr/share/doc/python-pexpect/examples/astat.py:16: 'time' imported but unused
./usr/share/doc/python-pexpect/examples/astat.py:18: 'pexpect' imported but unused
./usr/share/doc/python-pexpect/examples/ssh_session.py:8: 'from pexpect import *' used; unable to detect undefined names
./usr/share/doc/python-pexpect/examples/ssh_session.py:9: 'os' imported but unused

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