Debian Automated Code Analysis

pyflakes analysis of pyroman_0.4.6-4_all.deb

./usr/share/pyshared/pyroman/commands.py:30: 'port' imported but unused
./usr/share/pyshared/pyroman/xmlsyntax.py:91: redefinition of unused 'chain' from line 24
./usr/share/pyshared/pyroman/xmlsyntax.py:94: redefinition of unused 'chain' from line 24
./usr/share/pyshared/pyroman/xmlsyntax.py:104: redefinition of unused 'chain' from line 24
./usr/share/pyshared/pyroman/xmlsyntax.py:106: redefinition of unused 'chain' from line 24
./usr/share/pyshared/pyroman/xmlsyntax.py:108: redefinition of unused 'chain' from line 24
./usr/share/pyshared/pyroman/xmlsyntax.py:110: redefinition of unused 'chain' from line 24
./usr/share/pyshared/pyroman/xmlsyntax.py:112: redefinition of unused 'chain' from line 24
./usr/share/pyshared/pyroman/xmlsyntax.py:114: redefinition of unused 'chain' from line 24
./usr/share/pyshared/pyroman/__init__.py:25: 'from commands import *' used; unable to detect undefined names
./usr/share/pyshared/pyroman/pyroman.py:230: local variable 'successful' is assigned to but never used
./usr/share/pyshared/pyroman/pyroman.py:305: undefined name 'Error'
./usr/share/pyshared/pyroman/util.py:21: 'PyromanException' imported but unused
./usr/share/pyshared/pyroman/util.py:62: undefined name 'ipmask'
./usr/share/pyshared/pyroman/iptables.py:23: 'PyromanException' imported but unused
./usr/share/pyshared/pyroman/iptables.py:68: undefined name 'Error'
./usr/share/pyshared/pyroman/nat.py:23: 'Chain' imported but unused
./usr/share/pyshared/pyroman/iptables_parse.py:20: 'math' imported but unused
./usr/share/pyshared/pyroman/iptables_parse.py:21: 'getDOMImplementation' imported but unused
./usr/share/pyshared/pyroman/iptables_parse.py:22: 'minidom' imported but unused
./usr/share/pyshared/pyroman/iptables_parse.py:228: local variable 'targetops' is assigned to but never used
./usr/share/doc/pyroman/examples/example1/33_web.py:8: undefined name 'add_host'
./usr/share/doc/pyroman/examples/example1/33_web.py:14: undefined name 'allow'
./usr/share/doc/pyroman/examples/example1/33_web.py:20: undefined name 'allow'
./usr/share/doc/pyroman/examples/example1/33_web.py:26: undefined name 'add_nat'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:16: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:17: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:17: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:19: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:20: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:22: undefined name 'iptables'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:22: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:25: undefined name 'iptables'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:25: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:28: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:29: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:29: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:30: undefined name 'iptables'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:30: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:33: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:34: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:34: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:35: undefined name 'iptables'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:35: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:36: undefined name 'iptables'
./usr/share/doc/pyroman/examples/example1/03_standard_chains.py:36: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/example1/31_firewall.py:23: undefined name 'add_host'
./usr/share/doc/pyroman/examples/example1/31_firewall.py:30: undefined name 'add_host'
./usr/share/doc/pyroman/examples/example1/31_firewall.py:37: undefined name 'add_host'
./usr/share/doc/pyroman/examples/example1/31_firewall.py:45: undefined name 'allow'
./usr/share/doc/pyroman/examples/example1/31_firewall.py:50: undefined name 'allow'
./usr/share/doc/pyroman/examples/example1/31_firewall.py:55: undefined name 'allow'
./usr/share/doc/pyroman/examples/example1/31_firewall.py:62: undefined name 'allow'
./usr/share/doc/pyroman/examples/example1/06_ssh_scanner_block.py:19: undefined name 'iptables'
./usr/share/doc/pyroman/examples/example1/06_ssh_scanner_block.py:21: undefined name 'iptables'
./usr/share/doc/pyroman/examples/example1/06_ssh_scanner_block.py:31: undefined name 'iptables'
./usr/share/doc/pyroman/examples/example1/06_ssh_scanner_block.py:33: undefined name 'iptables'
./usr/share/doc/pyroman/examples/example1/80_workstations.py:13: undefined name 'reject'
./usr/share/doc/pyroman/examples/example1/80_workstations.py:20: undefined name 'allow'
./usr/share/doc/pyroman/examples/example1/80_workstations.py:32: undefined name 'add_nat'
./usr/share/doc/pyroman/examples/example1/32_mail.py:5: undefined name 'add_host'
./usr/share/doc/pyroman/examples/example1/32_mail.py:11: undefined name 'allow'
./usr/share/doc/pyroman/examples/example1/32_mail.py:20: undefined name 'add_nat'
./usr/share/doc/pyroman/examples/example1/21_extra_services.py:11: undefined name 'add_service'
./usr/share/doc/pyroman/examples/example1/21_extra_services.py:12: undefined name 'add_service'
./usr/share/doc/pyroman/examples/example1/21_extra_services.py:16: undefined name 'add_service'
./usr/share/doc/pyroman/examples/example1/21_extra_services.py:19: undefined name 'add_service'
./usr/share/doc/pyroman/examples/example1/21_extra_services.py:20: undefined name 'add_service'
./usr/share/doc/pyroman/examples/example1/98_log.py:10: undefined name 'iptables'
./usr/share/doc/pyroman/examples/example1/98_log.py:11: undefined name 'iptables'
./usr/share/doc/pyroman/examples/example1/98_log.py:12: undefined name 'iptables'
./usr/share/doc/pyroman/examples/example1/98_log.py:15: undefined name 'iptables'
./usr/share/doc/pyroman/examples/example1/98_log.py:16: undefined name 'iptables'
./usr/share/doc/pyroman/examples/example1/98_log.py:17: undefined name 'iptables'
./usr/share/doc/pyroman/examples/example1/10_interfaces.py:11: undefined name 'add_interface'
./usr/share/doc/pyroman/examples/example1/10_interfaces.py:12: undefined name 'add_interface'
./usr/share/doc/pyroman/examples/example1/10_interfaces.py:13: undefined name 'add_interface'
./usr/share/doc/pyroman/examples/example1/26_broadcasts.py:22: undefined name 'add_host'
./usr/share/doc/pyroman/examples/example1/26_broadcasts.py:24: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/example1/26_broadcasts.py:29: undefined name 'add_host'
./usr/share/doc/pyroman/examples/example1/26_broadcasts.py:31: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/example1/26_broadcasts.py:36: undefined name 'add_host'
./usr/share/doc/pyroman/examples/example1/26_broadcasts.py:38: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/example1/26_broadcasts.py:44: undefined name 'allow'
./usr/share/doc/pyroman/examples/example1/26_broadcasts.py:47: undefined name 'allow'
./usr/share/doc/pyroman/examples/base/25_networks.py:17: undefined name 'add_host'
./usr/share/doc/pyroman/examples/base/03_standard_chains.py:15: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/03_standard_chains.py:16: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/base/03_standard_chains.py:16: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/03_standard_chains.py:17: undefined name 'iptables'
./usr/share/doc/pyroman/examples/base/03_standard_chains.py:17: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/03_standard_chains.py:20: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/03_standard_chains.py:21: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/base/03_standard_chains.py:21: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/03_standard_chains.py:22: undefined name 'iptables'
./usr/share/doc/pyroman/examples/base/03_standard_chains.py:22: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/03_standard_chains.py:25: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/03_standard_chains.py:26: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/base/03_standard_chains.py:26: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/03_standard_chains.py:27: undefined name 'iptables'
./usr/share/doc/pyroman/examples/base/03_standard_chains.py:27: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/03_standard_chains.py:28: undefined name 'iptables'
./usr/share/doc/pyroman/examples/base/03_standard_chains.py:28: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/01_loopback.py:5: undefined name 'iptables'
./usr/share/doc/pyroman/examples/base/01_loopback.py:6: undefined name 'iptables'
./usr/share/doc/pyroman/examples/base/20_services.py:19: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:21: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:23: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:25: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:27: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:29: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:30: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:31: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:33: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:35: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:36: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:37: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:38: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:39: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:40: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:41: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:42: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:44: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:46: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:48: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:50: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:52: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:56: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:57: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:58: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:59: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:60: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/20_services.py:63: undefined name 'add_service'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:11: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:12: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:12: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:13: undefined name 'iptables'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:13: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:14: undefined name 'iptables'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:14: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:15: undefined name 'iptables'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:15: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:17: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:18: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:18: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:19: undefined name 'iptables'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:19: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:20: undefined name 'iptables'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:20: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:21: undefined name 'iptables'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:21: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:23: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:24: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:24: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:25: undefined name 'iptables'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:25: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:26: undefined name 'iptables'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:26: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:27: undefined name 'iptables'
./usr/share/doc/pyroman/examples/base/04_conntrack.py:27: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/base/10_interfaces.py:8: undefined name 'add_interface'
./usr/share/doc/pyroman/examples/base/00_iptables-defaults.py:6: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/base/00_iptables-defaults.py:7: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/base/00_iptables-defaults.py:8: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/base/00_iptables-defaults.py:9: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/base/00_iptables-defaults.py:10: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/base/00_iptables-defaults.py:11: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/base/00_iptables-defaults.py:12: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/base/00_iptables-defaults.py:13: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/base/00_iptables-defaults.py:14: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/base/00_iptables-defaults.py:15: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/base/00_iptables-defaults.py:16: undefined name 'add_chain'
./usr/share/doc/pyroman/examples/personal-firewall/25_networks.py:5: undefined name 'add_host'
./usr/share/doc/pyroman/examples/personal-firewall/30_localhost.py:7: undefined name 'add_host'
./usr/share/doc/pyroman/examples/personal-firewall/30_localhost.py:9: undefined name 'Firewall'
./usr/share/doc/pyroman/examples/personal-firewall/30_localhost.py:14: undefined name 'allow'
./usr/share/doc/pyroman/examples/personal-firewall/30_localhost.py:19: undefined name 'allow'
./usr/share/doc/pyroman/examples/personal-firewall/30_localhost.py:32: undefined name 'allow'
./usr/share/doc/pyroman/examples/personal-firewall/10_interfaces.py:4: undefined name 'add_interface'
./etc/pyroman/25_networks.py:17: undefined name 'add_host'
./etc/pyroman/03_standard_chains.py:15: undefined name 'Firewall'
./etc/pyroman/03_standard_chains.py:16: undefined name 'add_chain'
./etc/pyroman/03_standard_chains.py:16: undefined name 'Firewall'
./etc/pyroman/03_standard_chains.py:17: undefined name 'iptables'
./etc/pyroman/03_standard_chains.py:17: undefined name 'Firewall'
./etc/pyroman/03_standard_chains.py:20: undefined name 'Firewall'
./etc/pyroman/03_standard_chains.py:21: undefined name 'add_chain'
./etc/pyroman/03_standard_chains.py:21: undefined name 'Firewall'
./etc/pyroman/03_standard_chains.py:22: undefined name 'iptables'
./etc/pyroman/03_standard_chains.py:22: undefined name 'Firewall'
./etc/pyroman/03_standard_chains.py:25: undefined name 'Firewall'
./etc/pyroman/03_standard_chains.py:26: undefined name 'add_chain'
./etc/pyroman/03_standard_chains.py:26: undefined name 'Firewall'
./etc/pyroman/03_standard_chains.py:27: undefined name 'iptables'
./etc/pyroman/03_standard_chains.py:27: undefined name 'Firewall'
./etc/pyroman/03_standard_chains.py:28: undefined name 'iptables'
./etc/pyroman/03_standard_chains.py:28: undefined name 'Firewall'
./etc/pyroman/01_loopback.py:5: undefined name 'iptables'
./etc/pyroman/01_loopback.py:6: undefined name 'iptables'
./etc/pyroman/20_services.py:19: undefined name 'add_service'
./etc/pyroman/20_services.py:21: undefined name 'add_service'
./etc/pyroman/20_services.py:23: undefined name 'add_service'
./etc/pyroman/20_services.py:25: undefined name 'add_service'
./etc/pyroman/20_services.py:27: undefined name 'add_service'
./etc/pyroman/20_services.py:29: undefined name 'add_service'
./etc/pyroman/20_services.py:30: undefined name 'add_service'
./etc/pyroman/20_services.py:31: undefined name 'add_service'
./etc/pyroman/20_services.py:33: undefined name 'add_service'
./etc/pyroman/20_services.py:35: undefined name 'add_service'
./etc/pyroman/20_services.py:36: undefined name 'add_service'
./etc/pyroman/20_services.py:37: undefined name 'add_service'
./etc/pyroman/20_services.py:38: undefined name 'add_service'
./etc/pyroman/20_services.py:39: undefined name 'add_service'
./etc/pyroman/20_services.py:40: undefined name 'add_service'
./etc/pyroman/20_services.py:41: undefined name 'add_service'
./etc/pyroman/20_services.py:42: undefined name 'add_service'
./etc/pyroman/20_services.py:44: undefined name 'add_service'
./etc/pyroman/20_services.py:46: undefined name 'add_service'
./etc/pyroman/20_services.py:48: undefined name 'add_service'
./etc/pyroman/20_services.py:50: undefined name 'add_service'
./etc/pyroman/20_services.py:52: undefined name 'add_service'
./etc/pyroman/20_services.py:56: undefined name 'add_service'
./etc/pyroman/20_services.py:57: undefined name 'add_service'
./etc/pyroman/20_services.py:58: undefined name 'add_service'
./etc/pyroman/20_services.py:59: undefined name 'add_service'
./etc/pyroman/20_services.py:60: undefined name 'add_service'
./etc/pyroman/20_services.py:63: undefined name 'add_service'
./etc/pyroman/04_conntrack.py:11: undefined name 'Firewall'
./etc/pyroman/04_conntrack.py:12: undefined name 'add_chain'
./etc/pyroman/04_conntrack.py:12: undefined name 'Firewall'
./etc/pyroman/04_conntrack.py:13: undefined name 'iptables'
./etc/pyroman/04_conntrack.py:13: undefined name 'Firewall'
./etc/pyroman/04_conntrack.py:14: undefined name 'iptables'
./etc/pyroman/04_conntrack.py:14: undefined name 'Firewall'
./etc/pyroman/04_conntrack.py:15: undefined name 'iptables'
./etc/pyroman/04_conntrack.py:15: undefined name 'Firewall'
./etc/pyroman/04_conntrack.py:17: undefined name 'Firewall'
./etc/pyroman/04_conntrack.py:18: undefined name 'add_chain'
./etc/pyroman/04_conntrack.py:18: undefined name 'Firewall'
./etc/pyroman/04_conntrack.py:19: undefined name 'iptables'
./etc/pyroman/04_conntrack.py:19: undefined name 'Firewall'
./etc/pyroman/04_conntrack.py:20: undefined name 'iptables'
./etc/pyroman/04_conntrack.py:20: undefined name 'Firewall'
./etc/pyroman/04_conntrack.py:21: undefined name 'iptables'
./etc/pyroman/04_conntrack.py:21: undefined name 'Firewall'
./etc/pyroman/04_conntrack.py:23: undefined name 'Firewall'
./etc/pyroman/04_conntrack.py:24: undefined name 'add_chain'
./etc/pyroman/04_conntrack.py:24: undefined name 'Firewall'
./etc/pyroman/04_conntrack.py:25: undefined name 'iptables'
./etc/pyroman/04_conntrack.py:25: undefined name 'Firewall'
./etc/pyroman/04_conntrack.py:26: undefined name 'iptables'
./etc/pyroman/04_conntrack.py:26: undefined name 'Firewall'
./etc/pyroman/04_conntrack.py:27: undefined name 'iptables'
./etc/pyroman/04_conntrack.py:27: undefined name 'Firewall'
./etc/pyroman/10_interfaces.py:8: undefined name 'add_interface'
./etc/pyroman/00_iptables-defaults.py:6: undefined name 'add_chain'
./etc/pyroman/00_iptables-defaults.py:7: undefined name 'add_chain'
./etc/pyroman/00_iptables-defaults.py:8: undefined name 'add_chain'
./etc/pyroman/00_iptables-defaults.py:9: undefined name 'add_chain'
./etc/pyroman/00_iptables-defaults.py:10: undefined name 'add_chain'
./etc/pyroman/00_iptables-defaults.py:11: undefined name 'add_chain'
./etc/pyroman/00_iptables-defaults.py:12: undefined name 'add_chain'
./etc/pyroman/00_iptables-defaults.py:13: undefined name 'add_chain'
./etc/pyroman/00_iptables-defaults.py:14: undefined name 'add_chain'
./etc/pyroman/00_iptables-defaults.py:15: undefined name 'add_chain'
./etc/pyroman/00_iptables-defaults.py:16: undefined name 'add_chain'

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