Debian Automated Code Analysis

pyflakes analysis of python-turbogears_1.1.1-1_all.deb

./usr/share/pyshared/turbogears/paginate.py:5: 'warnings' imported but unused
./usr/share/pyshared/turbogears/paginate.py:11: redefinition of unused 'sqlobject' from line 9
./usr/share/pyshared/turbogears/paginate.py:16: redefinition of unused 'sqlalchemy' from line 14
./usr/share/pyshared/turbogears/paginate.py:23: 'PaginateDataGrid' imported but unused
./usr/share/pyshared/turbogears/config.py:30: local variable 'kw' is assigned to but never used
./usr/share/pyshared/turbogears/validators.py:17: 'from formencode.validators import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/validators.py:18: 'from formencode.compound import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/database.py:17: redefinition of unused 'ArgumentError' from line 15
./usr/share/pyshared/turbogears/database.py:17: redefinition of unused 'OperationalError' from line 15
./usr/share/pyshared/turbogears/database.py:17: 'OperationalError' imported but unused
./usr/share/pyshared/turbogears/database.py:19: redefinition of unused 'sqlalchemy' from line 12
./usr/share/pyshared/turbogears/database.py:26: redefinition of unused 'sqlobject' from line 22
./usr/share/pyshared/turbogears/database.py:156: redefinition of function 'get_engine' from line 46
./usr/share/pyshared/turbogears/database.py:158: redefinition of function 'get_metadata' from line 51
./usr/share/pyshared/turbogears/database.py:160: redefinition of function 'bind_metadata' from line 59
./usr/share/pyshared/turbogears/database.py:162: redefinition of function 'create_session' from line 87
./usr/share/pyshared/turbogears/docgen.py:237: redefinition of unused 'ElementTree' from line 234
./usr/share/pyshared/turbogears/docgen.py:240: redefinition of unused 'ElementTree' from line 237
./usr/share/pyshared/turbogears/docgen.py:243: redefinition of unused 'ElementTree' from line 240
./usr/share/pyshared/turbogears/__init__.py:8: 'startup' imported but unused
./usr/share/pyshared/turbogears/__init__.py:10: '__email__' imported but unused
./usr/share/pyshared/turbogears/__init__.py:10: '__version__' imported but unused
./usr/share/pyshared/turbogears/__init__.py:10: '__license__' imported but unused
./usr/share/pyshared/turbogears/__init__.py:10: '__author__' imported but unused
./usr/share/pyshared/turbogears/__init__.py:10: '__copyright__' imported but unused
./usr/share/pyshared/turbogears/__init__.py:13: 'jsi18nwidget' imported but unused
./usr/share/pyshared/turbogears/__init__.py:15: 'paginate' imported but unused
./usr/share/pyshared/turbogears/util.py:759: redefinition of function 'inet6_aton' from line 750
./usr/share/pyshared/turbogears/errorhandling.py:8: 'has_arg' imported but unused
./usr/share/pyshared/turbogears/errorhandling.py:192: undefined name 'default' in __all__
./usr/share/pyshared/turbogears/testutil.py:18: redefinition of unused 'sqlobject' from line 15
./usr/share/pyshared/turbogears/testutil.py:22: redefinition of unused 'sqlalchemy' from line 20
./usr/share/pyshared/turbogears/testutil.py:496: undefined name 'DummyRequestDumyResponse' in __all__
./usr/share/pyshared/turbogears/visit/api.py:21: redefinition of unused 'sha1' from line 19
./usr/share/pyshared/turbogears/visit/savisit.py:8: redefinition of unused 'UnmappedClassError' from line 6
./usr/share/pyshared/turbogears/visit/__init__.py:3: 'from turbogears.visit.api import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/visit/sovisit.py:43: local variable 'visit' is assigned to but never used
./usr/share/pyshared/turbogears/command/info.py:6: redefinition of unused 'Parser' from line 4
./usr/share/pyshared/turbogears/command/__init__.py:3: 'main' imported but unused
./usr/share/pyshared/turbogears/command/i18n.py:19: redefinition of unused 'kid' from line 17
./usr/share/pyshared/turbogears/command/i18n.py:197: undefined name '_'
./usr/share/pyshared/turbogears/command/sacommand.py:4: 'simple_decorator' imported but unused
./usr/share/pyshared/turbogears/command/base.py:236: 'readline' imported but unused
./usr/share/pyshared/turbogears/command/base.py:301: 'turbokid' imported but unused
./usr/share/pyshared/turbogears/widgets/datagrid.py:190: 'turbogears' imported but unused
./usr/share/pyshared/turbogears/widgets/forms.py:3: 'setlike' imported but unused
./usr/share/pyshared/turbogears/widgets/__init__.py:1: 'from turbogears.widgets.base import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/widgets/__init__.py:2: 'from turbogears.widgets.rpc import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/widgets/__init__.py:3: 'from turbogears.widgets.forms import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/widgets/__init__.py:4: 'from turbogears.widgets.big_widgets import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/widgets/__init__.py:5: 'from turbogears.widgets.datagrid import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/widgets/__init__.py:6: 'from turbogears.widgets.i18n import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/widgets/__init__.py:7: 'from turbogears.widgets.links import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/widgets/big_widgets.py:6: 'CSSSource' imported but unused
./usr/share/pyshared/turbogears/widgets/links.py:3: 'CSSSource' imported but unused
./usr/share/pyshared/turbogears/widgets/meta.py:3: 'warnings' imported but unused
./usr/share/pyshared/turbogears/widgets/i18n.py:7: 'lang_in_gettext_format' imported but unused
./usr/share/pyshared/turbogears/widgets/i18n.py:8: 'static' imported but unused
./usr/share/pyshared/turbogears/widgets/i18n.py:99: local variable 'params' is assigned to but never used
./usr/share/pyshared/turbogears/widgets/tests/test_nested_form_controllers.py:53: undefined name 'app'
./usr/share/pyshared/turbogears/widgets/tests/test_nested_form_controllers.py:60: undefined name 'app'
./usr/share/pyshared/turbogears/widgets/tests/test_widgets.py:107: local variable 'e' is assigned to but never used
./usr/share/pyshared/turbogears/widgets/tests/test_widgets.py:978: redefinition of function 'test_calendardatepicker' from line 964
./usr/share/pyshared/turbogears/widgets/tests/test_forms.py:81: undefined name '__module__'
./usr/share/pyshared/turbogears/widgets/tests/test_forms.py:85: undefined name '__module__'
./usr/share/pyshared/turbogears/widgets/tests/test_forms.py:89: undefined name '__module__'
./usr/share/pyshared/turbogears/widgets/tests/test_forms.py:90: undefined name '__module__'
./usr/share/pyshared/turbogears/widgets/tests/test_forms.py:180: local variable 'w' is assigned to but never used
./usr/share/pyshared/turbogears/widgets/tests/test_nested_widgets.py:448: local variable 'schema' is assigned to but never used
./usr/share/pyshared/turbogears/widgets/tests/test_nested_widgets.py:463: local variable 'schema' is assigned to but never used
./usr/share/pyshared/turbogears/identity/__init__.py:46: 'from turbogears.identity.base import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/identity/__init__.py:47: 'from turbogears.identity.conditions import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/identity/__init__.py:48: 'from turbogears.identity.exceptions import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/identity/visitor.py:20: 'from turbogears.identity.exceptions import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/identity/conditions.py:31: 'from turbogears.identity.exceptions import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/identity/base.py:11: undefined name 'get_failure_url' in __all__
./usr/share/pyshared/turbogears/identity/base.py:11: undefined name 'set_identity_errors' in __all__
./usr/share/pyshared/turbogears/identity/base.py:11: undefined name 'get_identity_errors' in __all__
./usr/share/pyshared/turbogears/identity/base.py:31: redefinition of unused 'sha1' from line 29
./usr/share/pyshared/turbogears/identity/base.py:32: redefinition of unused 'md5' from line 29
./usr/share/pyshared/turbogears/identity/base.py:39: 'from turbogears.identity.exceptions import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/identity/tests/test_visit.py:9: 'startup' imported but unused
./usr/share/pyshared/turbogears/identity/tests/test_visit.py:88: local variable 'morsel' is assigned to but never used
./usr/share/pyshared/turbogears/identity/tests/test_identity.py:2: 're' imported but unused
./usr/share/pyshared/turbogears/identity/tests/test_identity.py:8: 'startup' imported but unused
./usr/share/pyshared/turbogears/identity/tests/test_identity.py:10: 'Predicate' imported but unused
./usr/share/pyshared/turbogears/identity/tests/test_identity.py:521: local variable 'user' is assigned to but never used
./usr/share/pyshared/turbogears/identity/tests/test_identity.py:523: redefinition of function 'test_require_group_viewable' from line 516
./usr/share/pyshared/turbogears/identity/tests/test_identity.py:525: local variable 'response' is assigned to but never used
./usr/share/pyshared/turbogears/identity/tests/test_identity.py:527: local variable 'user' is assigned to but never used
./usr/share/pyshared/turbogears/identity/tests/test_identity.py:528: local variable 'group_ids' is assigned to but never used
./usr/share/pyshared/turbogears/identity/tests/test_identity.py:630: local variable 'user' is assigned to but never used
./usr/share/pyshared/turbogears/toolbox/__init__.py:1: 'Toolbox' imported but unused
./usr/share/pyshared/turbogears/toolbox/base.py:5: 'turbogears' imported but unused
./usr/share/pyshared/turbogears/toolbox/admi18n/__init__.py:4: 'sys' imported but unused
./usr/share/pyshared/turbogears/toolbox/designer/__init__.py:9: 'cherrypy' imported but unused
./usr/share/pyshared/turbogears/toolbox/designer/__init__.py:14: redefinition of unused 'sqlobject' from line 12
./usr/share/pyshared/turbogears/toolbox/catwalk/browse.py:6: redefinition of unused 'sqlobject' from line 4
./usr/share/pyshared/turbogears/toolbox/catwalk/__init__.py:14: 'socket' imported but unused
./usr/share/pyshared/turbogears/toolbox/catwalk/__init__.py:15: 'struct' imported but unused
./usr/share/pyshared/turbogears/toolbox/catwalk/__init__.py:16: 'time' imported but unused
./usr/share/pyshared/turbogears/toolbox/catwalk/__init__.py:20: redefinition of unused 'decimal' from line 18
./usr/share/pyshared/turbogears/toolbox/catwalk/__init__.py:29: redefinition of unused 'sqlobject' from line 27
./usr/share/pyshared/turbogears/toolbox/catwalk/__init__.py:32: 'identity' imported but unused
./usr/share/pyshared/turbogears/filters/__init__.py:4: 'VirtualPathFilter' imported but unused
./usr/share/pyshared/turbogears/filters/__init__.py:4: 'MonkeyDecodingFilter' imported but unused
./usr/share/pyshared/turbogears/filters/__init__.py:4: 'NestedVariablesFilter' imported but unused
./usr/share/pyshared/turbogears/filters/__init__.py:5: 'SafeMultipartFilter' imported but unused
./usr/share/pyshared/turbogears/filters/base.py:16: undefined name 'MoneyDecodingFilter' in __all__
./usr/share/pyshared/turbogears/i18n/__init__.py:4: 'gettext' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:4: 'plain_gettext' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:4: 'lazy_gettext' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:4: 'lazy_ngettext' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:4: 'ngettext' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:4: 'is_locale_supported' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:4: 'install' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:7: 'get_accept_languages' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:7: 'google_translate' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:7: 'get_locale' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:7: 'set_session_locale' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:10: 'parse_decimal' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:10: 'get_month_names' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:10: 'get_weekday_names' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:10: 'get_countries' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:10: 'get_languages' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:10: 'format_currency' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:10: 'get_abbr_month_names' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:10: 'format_number' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:10: 'get_country' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:10: 'format_date' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:10: 'parse_number' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:10: 'get_abbr_weekday_names' imported but unused
./usr/share/pyshared/turbogears/i18n/__init__.py:10: 'format_decimal' imported but unused
./usr/share/pyshared/turbogears/i18n/sagettext/model.py:5: 'backref' imported but unused
./usr/share/pyshared/turbogears/i18n/sagettext/__init__.py:6: 'metadata' imported but unused
./usr/share/pyshared/turbogears/i18n/sagettext/__init__.py:66: undefined name 'tg_message_table'
./usr/share/pyshared/turbogears/i18n/sagettext/__init__.py:67: undefined name 'tg_domain_table'
./usr/share/pyshared/turbogears/i18n/sagettext/__init__.py:69: undefined name 'tg_domain_table'
./usr/share/pyshared/turbogears/i18n/sagettext/__init__.py:70: undefined name 'tg_message_table'
./usr/share/pyshared/turbogears/i18n/sagettext/__init__.py:108: undefined name 'os'
./usr/share/pyshared/turbogears/i18n/sagettext/__init__.py:111: undefined name 'os'
./usr/share/pyshared/turbogears/i18n/sogettext/model.py:2: 'from sqlobject import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/i18n/sogettext/model.py:3: 'from datetime import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/i18n/sogettext/__init__.py:98: undefined name 'os'
./usr/share/pyshared/turbogears/i18n/sogettext/__init__.py:101: undefined name 'os'
./usr/share/pyshared/turbogears/i18n/pygettext/pygettext.py:172: redefinition of unused 'kid_parser' from line 170
./usr/share/pyshared/turbogears/i18n/pygettext/pygettext.py:178: redefinition of unused 'GenshiMarkupTemplate' from line 175
./usr/share/pyshared/turbogears/i18n/pygettext/catalog.py:192: undefined name 'msgid'
./usr/share/pyshared/turbogears/i18n/pygettext/catalog.py:192: undefined name 'msgstr'
./usr/share/pyshared/turbogears/i18n/pygettext/catalog.py:210: undefined name 'msgid'
./usr/share/pyshared/turbogears/i18n/pygettext/catalog.py:210: undefined name 'msgstr'
./usr/share/pyshared/turbogears/i18n/tests/test_format.py:4: 'from turbogears.i18n.format import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/i18n/tests/test_utils.py:3: 'from turbogears.i18n.utils import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/i18n/tests/test_toolboxadmi18n.py:3: 'pygettext' imported but unused
./usr/share/pyshared/turbogears/i18n/tests/test_toolboxadmi18n.py:7: undefined name '_'
./usr/share/pyshared/turbogears/i18n/tests/test_toolboxadmi18n.py:8: undefined name '_'
./usr/share/pyshared/turbogears/i18n/tests/test_so_gettext.py:3: 'sogettext' imported but unused
./usr/share/pyshared/turbogears/i18n/tests/test_so_gettext.py:4: 'tg_gettext' imported but unused
./usr/share/pyshared/turbogears/i18n/tests/test_tg_gettext.py:2: 'from turbogears.i18n.tg_gettext import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/i18n/tests/test_kidutils.py:3: 'from turbogears.i18n.kidutils import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/i18n/tests/test_kidutils.py:4: 'setup_module' imported but unused
./usr/share/pyshared/turbogears/view/__init__.py:1: 'base' imported but unused
./usr/share/pyshared/turbogears/view/__init__.py:2: 'from turbogears.view.base import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/view/genshisupport.py:51: undefined name 'ConfigurationError'
./usr/share/pyshared/turbogears/view/base.py:39: redefinition of unused 'kid_i18n_filter' from line 37
./usr/share/pyshared/turbogears/view/base.py:57: redefinition of unused 'TGGenshiTemplatePlugin' from line 54
./usr/share/pyshared/turbogears/feed/feed.py:8: 'time' imported but unused
./usr/share/pyshared/turbogears/feed/feed.py:11: 'cherrypy' imported but unused
./usr/share/pyshared/turbogears/feed/feed.py:19: undefined name 'warnings'
./usr/share/pyshared/turbogears/tests/test_view.py:5: 'pkg_resources' imported but unused
./usr/share/pyshared/turbogears/tests/test_view.py:163: 'turbogears' imported but unused
./usr/share/pyshared/turbogears/tests/test_decorator.py:3: 'from turbogears.decorator import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/tests/test_sqlobject.py:3: 'testutil' imported but unused
./usr/share/pyshared/turbogears/tests/test_sqlobject.py:6: 'RootController' imported but unused
./usr/share/pyshared/turbogears/tests/test_restmethod.py:73: local variable '__user_registry__' is assigned to but never used
./usr/share/pyshared/turbogears/tests/test_restmethod.py:86: local variable 'resp' is assigned to but never used
./usr/share/pyshared/turbogears/tests/test_util.py:56: redefinition of function 'f' from line 39
./usr/share/pyshared/turbogears/tests/test_util.py:73: redefinition of function 'f' from line 56
./usr/share/pyshared/turbogears/tests/test_util.py:90: redefinition of function 'f' from line 73
./usr/share/pyshared/turbogears/tests/test_util.py:118: redefinition of function 'recurse' from line 110
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:2: 'TestCase' imported but unused
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:6: 'unmount' imported but unused
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:6: 'mount' imported but unused
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:102: undefined name 'app'
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:108: undefined name 'app'
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:114: undefined name 'app'
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:114: local variable 'response' is assigned to but never used
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:118: undefined name 'app'
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:120: undefined name 'app'
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:125: undefined name 'app'
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:127: undefined name 'app'
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:132: undefined name 'app'
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:136: undefined name 'app'
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:152: undefined name 'app'
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:156: undefined name 'app'
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:163: undefined name 'app'
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:171: undefined name 'app'
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:179: undefined name 'app'
./usr/share/pyshared/turbogears/tests/test_form_controllers.py:186: undefined name 'app'
./usr/share/pyshared/turbogears/tests/test_controllers.py:1: 'unittest' imported but unused
./usr/share/pyshared/turbogears/tests/test_controllers.py:6: 'startup' imported but unused
./usr/share/pyshared/turbogears/tests/test_controllers.py:369: local variable 'response' is assigned to but never used
./usr/share/pyshared/turbogears/tests/test_paginate.py:1069: undefined name '_sa_dburi'
./usr/share/pyshared/turbogears/tests/test_paginate.py:1069: undefined name '_so_dburi'
./usr/share/pyshared/turbogears/tests/test_sqlalchemy.py:101: undefined name 'users_table'
./usr/share/pyshared/turbogears/tests/test_sqlalchemy.py:106: undefined name 'users_table'
./usr/share/pyshared/turbogears/tests/test_sqlalchemy.py:109: undefined name 'users_table'
./usr/share/pyshared/turbogears/tests/test_sqlalchemy.py:111: undefined name 'users_table'
./usr/share/pyshared/turbogears/tests/test_sqlalchemy.py:114: undefined name 'users_table'
./usr/share/pyshared/turbogears/tests/test_sqlalchemy.py:117: undefined name 'multi_table'
./usr/share/pyshared/turbogears/tests/test_sqlalchemy.py:118: undefined name 'fresh_multi_table'
./usr/share/pyshared/turbogears/tests/test_sqlalchemy.py:119: undefined name 'multi_table'
./usr/share/pyshared/turbogears/tests/test_sqlalchemy.py:120: undefined name 'fresh_multi_table'
./usr/share/pyshared/turbogears/tests/test_sqlalchemy.py:344: undefined name 'test_table'
./usr/share/pyshared/turbogears/tests/test_session_mapper.py:10: redefinition of unused 'ArgumentError' from line 8
./usr/share/pyshared/turbogears/tests/test_catwalk.py:8: 'timeit' imported but unused
./usr/share/pyshared/turbogears/tests/test_catwalk.py:9: 'time' imported but unused
./usr/share/pyshared/turbogears/tests/test_catwalk.py:33: local variable 's' is assigned to but never used
./usr/share/pyshared/turbogears/tests/test_command_i18n.py:10: 'datetime' imported but unused
./usr/share/pyshared/turbogears/tests/test_command_i18n.py:14: 'extract_genshi_strings' imported but unused
./usr/share/pyshared/turbogears/tests/test_command_i18n.py:21: redefinition of unused 'kid' from line 17
./usr/share/pyshared/turbogears/tests/catwalk_models/single_join.py:1: 'from sqlobject import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/tests/catwalk_models/browse.py:1: 'from sqlobject import *' used; unable to detect undefined names
./usr/share/pyshared/turbogears/tests/catwalk_models/model_list.py:1: 'IntCol' imported but unused

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