Debian Automated Code Analysis

pyflakes analysis of translate-toolkit_1.7.0-0.1_all.deb

./usr/share/pyshared/translate/lang/factory.py:42: undefined name 'langclass'
./usr/share/pyshared/translate/lang/factory.py:50: undefined name 'langclass'
./usr/share/pyshared/translate/lang/factory.py:51: local variable 'e' is assigned to but never used
./usr/share/pyshared/translate/lang/ngram.py:128: local variable 'e' is assigned to but never used
./usr/share/pyshared/translate/misc/xmlwrapper.py:27: redefinition of unused 'ElementTree' from line 25
./usr/share/pyshared/translate/misc/xmlwrapper.py:29: 'expat' imported but unused
./usr/share/pyshared/translate/misc/ourdom.py:147: undefined name '_nssplit'
./usr/share/pyshared/translate/misc/optrecurse.py:32: redefinition of unused 'StringIO' from line 30
./usr/share/pyshared/translate/misc/optrecurse.py:139: 'psyco' imported but unused
./usr/share/pyshared/translate/misc/optrecurse.py:460: local variable 'e' is assigned to but never used
./usr/share/pyshared/translate/misc/quote.py:305: undefined name 'encoding'
./usr/share/pyshared/translate/misc/multistring.py:31: local variable 'mainstring' is assigned to but never used
./usr/share/pyshared/translate/misc/test_zipfileext.py:1: 'zlib' imported but unused
./usr/share/pyshared/translate/misc/test_zipfileext.py:6: redefinition of unused 'TestFailed' from line 4
./usr/share/pyshared/translate/misc/test_zipfileext.py:117: local variable 'zf' is assigned to but never used
./usr/share/pyshared/translate/misc/typecheck/__init__.py:207: redefinition of unused 'types' from line 9
./usr/share/pyshared/translate/misc/typecheck/__init__.py:792: local variable 'e' is assigned to but never used
./usr/share/pyshared/translate/misc/typecheck/__init__.py:948: redefinition of function '__hash__' from line 935
./usr/share/pyshared/translate/tools/test_phppo2pypo.py:9: 'po' imported but unused
./usr/share/pyshared/translate/tools/test_pomerge.py:5: 'factory' imported but unused
./usr/share/pyshared/translate/tools/test_pomerge.py:87: local variable 'pounit' is assigned to but never used
./usr/share/pyshared/translate/tools/test_pomerge.py:103: local variable 'pounit' is assigned to but never used
./usr/share/pyshared/translate/tools/test_pypo2phppo.py:9: 'po' imported but unused
./usr/share/pyshared/translate/tools/podebug.py:241: local variable 'filename' is assigned to but never used
./usr/share/pyshared/translate/tools/poterminology.py:124: local variable 'character' is assigned to but never used
./usr/share/pyshared/translate/tools/test_pogrep.py:147: local variable 'xliff_file' is assigned to but never used
./usr/share/pyshared/translate/tools/pydiff.py:123: undefined name 'parser'
./usr/share/pyshared/translate/tools/pogrep.py:70: redefinition of function 'getter' from line 66
./usr/share/pyshared/translate/tools/pogrep.py:82: redefinition of function 'setter' from line 77
./usr/share/pyshared/translate/storage/statsdb.py:39: redefinition of unused 'dbapi2' from line 37
./usr/share/pyshared/translate/storage/dtd.py:34: redefinition of unused 'etree' from line 31
./usr/share/pyshared/translate/storage/dtd.py:438: local variable 'dtd' is assigned to but never used
./usr/share/pyshared/translate/storage/wordfast.py:355: undefined name '_'
./usr/share/pyshared/translate/storage/test_zipfile.py:2: 'zlib' imported but unused
./usr/share/pyshared/translate/storage/cpo.py:543: undefined name 'base'
./usr/share/pyshared/translate/storage/test_base.py:322: local variable 'src' is assigned to but never used
./usr/share/pyshared/translate/storage/test_factory.py:13: redefinition of unused 'BZ2File' from line 11
./usr/share/pyshared/translate/storage/factory.py:30: redefinition of unused 'BZ2File' from line 28
./usr/share/pyshared/translate/storage/factory.py:45: 'poxliff' imported but unused
./usr/share/pyshared/translate/storage/ts2.py:291: undefined name '_'
./usr/share/pyshared/translate/storage/pocommon.py:107: undefined name '_'
./usr/share/pyshared/translate/storage/qph.py:100: undefined name '_'
./usr/share/pyshared/translate/storage/test_csvl10n.py:15: local variable 'unit1' is assigned to but never used
./usr/share/pyshared/translate/storage/test_csvl10n.py:16: local variable 'unit2' is assigned to but never used
./usr/share/pyshared/translate/storage/tbx.py:50: undefined name '_'
./usr/share/pyshared/translate/storage/csvl10n.py:146: undefined name '_'
./usr/share/pyshared/translate/storage/po.py:35: 'from translate.storage.cpo import *' used; unable to detect undefined names
./usr/share/pyshared/translate/storage/po.py:38: 'from translate.storage.fpo import *' used; unable to detect undefined names
./usr/share/pyshared/translate/storage/po.py:41: 'from translate.storage.pypo import *' used; unable to detect undefined names
./usr/share/pyshared/translate/storage/po.py:43: 'from translate.storage.pypo import *' used; unable to detect undefined names
./usr/share/pyshared/translate/storage/rc.py:96: undefined name 'note'
./usr/share/pyshared/translate/storage/subtitles.py:136: undefined name '_'
./usr/share/pyshared/translate/storage/subtitles.py:147: undefined name '_'
./usr/share/pyshared/translate/storage/subtitles.py:158: undefined name '_'
./usr/share/pyshared/translate/storage/subtitles.py:169: undefined name '_'
./usr/share/pyshared/translate/storage/tmx.py:113: undefined name '_'
./usr/share/pyshared/translate/storage/xliff.py:29: 'from translate.misc.xml_helpers import *' used; unable to detect undefined names
./usr/share/pyshared/translate/storage/xliff.py:487: local variable 'bodyNode' is assigned to but never used
./usr/share/pyshared/translate/storage/test_zip.py:5: 'directory' imported but unused
./usr/share/pyshared/translate/storage/statistics.py:30: 'factory' imported but unused
./usr/share/pyshared/translate/storage/xpi.py:399: redefinition of function 'onclose' from line 389
./usr/share/pyshared/translate/storage/qm.py:75: undefined name '_'
./usr/share/pyshared/translate/storage/qm.py:113: local variable 'hashash' is assigned to but never used
./usr/share/pyshared/translate/storage/qm.py:114: local variable 'hash_start' is assigned to but never used
./usr/share/pyshared/translate/storage/qm.py:115: local variable 'hash_data' is assigned to but never used
./usr/share/pyshared/translate/storage/qm.py:118: local variable 'hasmessages' is assigned to but never used
./usr/share/pyshared/translate/storage/qm.py:123: local variable 'hascontexts' is assigned to but never used
./usr/share/pyshared/translate/storage/qm.py:124: local variable 'contexts_start' is assigned to but never used
./usr/share/pyshared/translate/storage/qm.py:125: local variable 'contexts_data' is assigned to but never used
./usr/share/pyshared/translate/storage/qm.py:163: local variable 'context' is assigned to but never used
./usr/share/pyshared/translate/storage/qm.py:167: local variable 'comment' is assigned to but never used
./usr/share/pyshared/translate/storage/qm.py:171: local variable 'hash' is assigned to but never used
./usr/share/pyshared/translate/storage/test_poheader.py:12: 'guess_language' imported but unused
./usr/share/pyshared/translate/storage/test_poheader.py:103: local variable 'pofile' is assigned to but never used
./usr/share/pyshared/translate/storage/test_poheader.py:224: local variable 'headeritems' is assigned to but never used
./usr/share/pyshared/translate/storage/test_poheader.py:244: local variable 'headeritems' is assigned to but never used
./usr/share/pyshared/translate/storage/poxliff.py:93: undefined name 'xml'
./usr/share/pyshared/translate/storage/poxliff.py:383: local variable 'i' is assigned to but never used
./usr/share/pyshared/translate/storage/mo.py:137: undefined name '_'
./usr/share/pyshared/translate/storage/test_ts2.py:23: 'etree' imported but unused
./usr/share/pyshared/translate/storage/test_ts2.py:25: 'multistring' imported but unused
./usr/share/pyshared/translate/storage/test_ts2.py:30: 'xml_to_strelem' imported but unused
./usr/share/pyshared/translate/storage/test_statsdb.py:2: 'storage' imported but unused
./usr/share/pyshared/translate/storage/test_statsdb.py:7: 'py' imported but unused
./usr/share/pyshared/translate/storage/test_statsdb.py:10: 'wStringIO' imported but unused
./usr/share/pyshared/translate/storage/test_statsdb.py:12: 'warnings' imported but unused
./usr/share/pyshared/translate/storage/omegat.py:151: undefined name '_'
./usr/share/pyshared/translate/storage/omegat.py:211: undefined name '_'
./usr/share/pyshared/translate/storage/odf_shared.py:34: local variable 'svg_uri' is assigned to but never used
./usr/share/pyshared/translate/storage/odf_shared.py:36: redefinition of unused 'inline_elements' from line 182
./usr/share/pyshared/translate/storage/odf_shared.py:47: redefinition of unused 'no_translate_content_elements' from line 183
./usr/share/pyshared/translate/storage/odf_shared.py:182: 'inline_elements' imported but unused
./usr/share/pyshared/translate/storage/odf_shared.py:183: 'no_translate_content_elements' imported but unused
./usr/share/pyshared/translate/storage/tmdb.py:32: redefinition of unused 'dbapi2' from line 30
./usr/share/pyshared/translate/storage/base.py:31: redefinition of unused 'pickle' from line 29
./usr/share/pyshared/translate/storage/base.py:33: 'translate' imported but unused
./usr/share/pyshared/translate/storage/base.py:34: 'general' imported but unused
./usr/share/pyshared/translate/storage/base.py:35: 'IsOneOf' imported but unused
./usr/share/pyshared/translate/storage/base.py:35: 'Self' imported but unused
./usr/share/pyshared/translate/storage/base.py:35: 'accepts' imported but unused
./usr/share/pyshared/translate/storage/lisa.py:29: 'setXMLlang' imported but unused
./usr/share/pyshared/translate/storage/lisa.py:29: 'setXMLspace' imported but unused
./usr/share/pyshared/translate/storage/lisa.py:172: local variable 'e' is assigned to but never used
./usr/share/pyshared/translate/storage/placeables/parse.py:26: 'base' imported but unused
./usr/share/pyshared/translate/storage/placeables/test_terminology.py:25: 'StringElem' imported but unused
./usr/share/pyshared/translate/storage/placeables/test_terminology.py:25: 'base' imported but unused
./usr/share/pyshared/translate/storage/placeables/__init__.py:48: 'base' imported but unused
./usr/share/pyshared/translate/storage/placeables/__init__.py:49: 'interfaces' imported but unused
./usr/share/pyshared/translate/storage/placeables/__init__.py:50: 'general' imported but unused
./usr/share/pyshared/translate/storage/placeables/__init__.py:51: 'xliff' imported but unused
./usr/share/pyshared/translate/storage/placeables/__init__.py:52: 'from base import *' used; unable to detect undefined names
./usr/share/pyshared/translate/storage/placeables/__init__.py:54: 'StringElem' imported but unused
./usr/share/pyshared/translate/storage/placeables/__init__.py:55: 'parse' imported but unused
./usr/share/pyshared/translate/storage/placeables/base.py:27: 'from translate.storage.placeables.interfaces import *' used; unable to detect undefined names
./usr/share/pyshared/translate/storage/placeables/lisa.py:195: local variable 'exc' is assigned to but never used
./usr/share/pyshared/translate/storage/versioncontrol/__init__.py:103: redefinition of function 'run_command' from line 76
./usr/share/pyshared/translate/storage/versioncontrol/__init__.py:388: 'translate' imported but unused
./usr/share/pyshared/translate/storage/versioncontrol/bzr.py:23: 'translate' imported but unused
./usr/share/pyshared/translate/filters/spelling.py:30: 'DictNotFoundError' imported but unused
./usr/share/pyshared/translate/filters/spelling.py:50: redefinition of function 'check' from line 33
./usr/share/pyshared/translate/filters/checks.py:45: redefinition of unused 'xliff' from line 43
./usr/share/pyshared/translate/filters/autocorrect.py:25: 'returns' imported but unused
./usr/share/pyshared/translate/filters/test_checks.py:14: local variable 'e' is assigned to but never used
./usr/share/pyshared/translate/filters/test_checks.py:53: local variable 'mozillachecker' is assigned to but never used
./usr/share/pyshared/translate/filters/test_checks.py:59: local variable 'stdchecker' is assigned to but never used
./usr/share/pyshared/translate/filters/test_checks.py:60: local variable 'mozillachecker' is assigned to but never used
./usr/share/pyshared/translate/filters/test_checks.py:61: local variable 'ooochecker' is assigned to but never used
./usr/share/pyshared/translate/filters/test_checks.py:62: local variable 'gnomechecker' is assigned to but never used
./usr/share/pyshared/translate/filters/test_checks.py:63: local variable 'kdechecker' is assigned to but never used
./usr/share/pyshared/translate/services/lookupclient.py:50: undefined name 'tmx'
./usr/share/pyshared/translate/services/tmserver.py:33: redefinition of unused 'json' from line 31
./usr/share/pyshared/translate/services/tmserver.py:34: 'simple_server' imported but unused
./usr/share/pyshared/translate/services/tmserver.py:112: undefined name 'response'
./usr/share/pyshared/translate/services/tmserver.py:120: undefined name 'response'
./usr/share/pyshared/translate/services/tmserver.py:148: undefined name 'response'
./usr/share/pyshared/translate/convert/po2oo.py:117: local variable 'unquotedid' is assigned to but never used
./usr/share/pyshared/translate/convert/test_po2html.py:95: 'tidy' imported but unused
./usr/share/pyshared/translate/convert/test_po2html.py:97: local variable 'e' is assigned to but never used
./usr/share/pyshared/translate/convert/oo2xliff.py:95: local variable 'bug_url' is assigned to but never used
./usr/share/pyshared/translate/convert/test_po2oo.py:173: undefined name 'convertor'
./usr/share/pyshared/translate/convert/test_po2oo.py:173: undefined name 'inputpo'
./usr/share/pyshared/translate/convert/po2tmx.py:46: undefined name 'tmxfile'
./usr/share/pyshared/translate/convert/po2tmx.py:47: undefined name 'tmxfile'
./usr/share/pyshared/translate/convert/test_tiki2po.py:9: 'tiki' imported but unused
./usr/share/pyshared/translate/convert/xliff2oo.py:113: local variable 'unquotedid' is assigned to but never used
./usr/share/pyshared/translate/convert/sub2po.py:63: undefined name 'origini'
./usr/share/pyshared/translate/convert/po2symb.py:23: 'sys' imported but unused
./usr/share/pyshared/translate/convert/po2symb.py:26: 'from translate.storage.symbian import *' used; unable to detect undefined names
./usr/share/pyshared/translate/convert/po2xliff.py:91: local variable 'transunitnode' is assigned to but never used
./usr/share/pyshared/translate/convert/symb2po.py:25: 'from translate.storage.symbian import *' used; unable to detect undefined names
./usr/share/pyshared/translate/convert/convert.py:31: redefinition of unused 'StringIO' from line 29
./usr/share/pyshared/translate/convert/ts2po.py:57: local variable 'targetheader' is assigned to but never used
./usr/share/pyshared/translate/convert/odf2xliff.py:39: 'zipfile' imported but unused
./usr/share/pyshared/translate/convert/odf2xliff.py:53: 'itools' imported but unused
./usr/share/pyshared/translate/convert/test_convert.py:11: redefinition of unused 'psyco' from line 9
./usr/share/pyshared/translate/convert/tiki2po.py:43: local variable 'targetheader' is assigned to but never used
./usr/share/pyshared/translate/convert/po2html.py:33: redefinition of unused 'textwrap' from line 31
./usr/share/pyshared/translate/convert/po2html.py:38: redefinition of unused 'tidy' from line 36
./usr/share/pyshared/translate/convert/po2html.py:101: local variable 'outputfilepos' is assigned to but never used
./usr/share/pyshared/translate/convert/test_po2tiki.py:9: 'tiki' imported but unused
./usr/share/pyshared/translate/convert/test_po2tiki.py:40: local variable 'options' is assigned to but never used
./usr/share/pyshared/translate/convert/test_mozfunny2prop.py:17: local variable 'result' is assigned to but never used
./usr/share/pyshared/translate/convert/po2txt.py:33: redefinition of unused 'textwrap' from line 31
./usr/share/pyshared/translate/convert/html2po.py:38: local variable 'targetheader' is assigned to but never used
./usr/share/pyshared/translate/convert/test_pot2po.py:305: local variable 'posource2' is assigned to but never used
./usr/share/pyshared/translate/convert/test_oo2xliff.py:6: 'xliff2oo' imported but unused
./usr/share/pyshared/translate/convert/test_oo2xliff.py:8: 'wStringIO' imported but unused
./usr/share/pyshared/translate/search/test_lshtein.py:7: local variable 'levenshtein' is assigned to but never used
./usr/share/pyshared/translate/search/indexing/CommonIndexer.py:554: local variable 'e' is assigned to but never used
./usr/share/pyshared/translate/search/indexing/PyLuceneIndexer.py:46: redefinition of unused 'PyLucene' from line 41
./usr/share/pyshared/translate/search/indexing/PyLuceneIndexer.py:467: local variable 'e' is assigned to but never used
./usr/share/pyshared/translate/search/indexing/PyLuceneIndexer1.py:77: undefined name '_escape_term_value'
./usr/share/pyshared/translate/search/indexing/PyLuceneIndexer1.py:115: undefined name '_escape_term_value'
./usr/share/pyshared/translate/search/indexing/PyLuceneIndexer1.py:150: undefined name 'PyLuceneIndex'
./usr/share/pyshared/translate/search/indexing/PyLuceneIndexer1.py:208: undefined name 'PyLuceneIndexer1'
./usr/share/doc/translate-toolkit/examples/lookupclient.py:50: undefined name 'tmx'

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