Debian Automated Code Analysis

pyflakes analysis of thuban_1.2.2-2+b1_i386.deb

./usr/share/doc/thuban/examples/simple_extensions/simple_command.py:18: 'os' imported but unused
./usr/lib/thuban/thuban.py:34: 'gdal' imported but unused
./usr/lib/thuban/Lib/dbflib.py:42: redefinition of function '__del__' from line 8
./usr/lib/thuban/Lib/Projection.py:40: redefinition of function '__del__' from line 8
./usr/lib/thuban/Thuban/thuban_cfg.py:66: 'Extensions' imported but unused
./usr/lib/thuban/Thuban/version.py:50: 'split' imported but unused
./usr/lib/thuban/Thuban/version.py:56: redefinition of unused 'sys' from line 48
./usr/lib/thuban/Thuban/version.py:121: redefinition of unused 'sqlite' from line 118
./usr/lib/thuban/Thuban/version.py:123: redefinition of unused 'sqlite' from line 121
./usr/lib/thuban/Thuban/__init__.py:10: 'os' imported but unused
./usr/lib/thuban/Thuban/__init__.py:11: 'sys' imported but unused
./usr/lib/thuban/Thuban/Model/extension.py:55: undefined name 'layer'
./usr/lib/thuban/Thuban/Model/xmlwriter.py:15: 'UnicodeType' imported but unused
./usr/lib/thuban/Thuban/Model/classgen.py:338: undefined name '_'
./usr/lib/thuban/Thuban/Model/table.py:17: 'inspect' imported but unused
./usr/lib/thuban/Thuban/Model/table.py:18: 'warnings' imported but unused
./usr/lib/thuban/Thuban/Model/save.py:25: 'ClassGroupMap' imported but unused
./usr/lib/thuban/Thuban/Model/save.py:347: undefined name '_'
./usr/lib/thuban/Thuban/Model/scalebar.py:10: '_' imported but unused
./usr/lib/thuban/Thuban/Model/session.py:447: 'os' imported but unused
./usr/lib/thuban/Thuban/Model/resource.py:18: 'traceback' imported but unused
./usr/lib/thuban/Thuban/Model/resource.py:20: 'Thuban' imported but unused
./usr/lib/thuban/Thuban/Model/resource.py:23: 'get_thuban_dir' imported but unused
./usr/lib/thuban/Thuban/Model/transientdb.py:35: redefinition of unused 'sqlite' from line 29
./usr/lib/thuban/Thuban/Model/transientdb.py:39: redefinition of unused 'sqlite' from line 35
./usr/lib/thuban/Thuban/Model/load.py:20: 'xml' imported but unused
./usr/lib/thuban/Thuban/Model/load.py:21: 'SAXNotRecognizedException' imported but unused
./usr/lib/thuban/Thuban/Model/load.py:21: 'ErrorHandler' imported but unused
./usr/lib/thuban/Thuban/Model/load.py:21: 'make_parser' imported but unused
./usr/lib/thuban/Thuban/Model/load.py:35: 'ClassGroupMap' imported but unused
./usr/lib/thuban/Thuban/Model/load.py:35: 'Classification' imported but unused
./usr/lib/thuban/Thuban/Model/load.py:44: 'resource' imported but unused
./usr/lib/thuban/Thuban/Model/load.py:322: undefined name 'filetype'
./usr/lib/thuban/Thuban/Model/postgisdb.py:17: redefinition of unused 'psycopg2' from line 14
./usr/lib/thuban/Thuban/Model/postgisdb.py:642: local variable 'x' is assigned to but never used
./usr/lib/thuban/Thuban/Model/postgisdb.py:643: local variable 'y' is assigned to but never used
./usr/lib/thuban/Thuban/Model/layer.py:13: 'warnings' imported but unused
./usr/lib/thuban/Thuban/Model/layer.py:27: 'ALIGN_TOP' imported but unused
./usr/lib/thuban/Thuban/Model/layer.py:27: 'ALIGN_BOTTOM' imported but unused
./usr/lib/thuban/Thuban/Model/layer.py:27: 'ALIGN_RIGHT' imported but unused
./usr/lib/thuban/Thuban/Model/layer.py:32: 'Color' imported but unused
./usr/lib/thuban/Thuban/Model/classification.py:30: 'LAYER_LEGEND_CHANGED' imported but unused
./usr/lib/thuban/Thuban/Model/classification.py:30: 'LAYER_PROJECTION_CHANGED' imported but unused
./usr/lib/thuban/Thuban/Model/classification.py:30: 'LAYER_VISIBILITY_CHANGED' imported but unused
./usr/lib/thuban/Thuban/Model/classification.py:36: 'Color' imported but unused
./usr/lib/thuban/Thuban/Model/classification.py:39: 'Thuban' imported but unused
./usr/lib/thuban/Thuban/Model/classification.py:837: undefined name 'func_id'
./usr/lib/thuban/Thuban/UI/viewport.py:21: 'shape_centroid' imported but unused
./usr/lib/thuban/Thuban/UI/viewport.py:26: 'RAW_SHAPEFILE' imported but unused
./usr/lib/thuban/Thuban/UI/viewport.py:30: 'Publisher' imported but unused
./usr/lib/thuban/Thuban/UI/viewport.py:312: local variable 'changed' is assigned to but never used
./usr/lib/thuban/Thuban/UI/viewport.py:380: local variable 'bbox' is assigned to but never used
./usr/lib/thuban/Thuban/UI/viewport.py:751: local variable 'forward' is assigned to but never used
./usr/lib/thuban/Thuban/UI/viewport.py:753: local variable 'scale' is assigned to but never used
./usr/lib/thuban/Thuban/UI/identifyview.py:12: 'grid' imported but unused
./usr/lib/thuban/Thuban/UI/dock.py:27: 'NonModalDialog' imported but unused
./usr/lib/thuban/Thuban/UI/dock.py:29: 'DOCKABLE_CLOSED' imported but unused
./usr/lib/thuban/Thuban/UI/classgen.py:15: 'sys' imported but unused
./usr/lib/thuban/Thuban/UI/classgen.py:487: local variable 'obj' is assigned to but never used
./usr/lib/thuban/Thuban/UI/layerproperties.py:17: 'LAYER_SHAPESTORE_REPLACED' imported but unused
./usr/lib/thuban/Thuban/UI/dbdialog.py:12: 'sys' imported but unused
./usr/lib/thuban/Thuban/UI/dbdialog.py:12: 'traceback' imported but unused
./usr/lib/thuban/Thuban/UI/dbdialog.py:19: redefinition of unused 'psycopg' from line 17
./usr/lib/thuban/Thuban/UI/dbdialog.py:352: undefined name 'wxMessageDialog'
./usr/lib/thuban/Thuban/UI/multiplechoicedialog.py:41: undefined name 'Layoutf'
./usr/lib/thuban/Thuban/UI/multiplechoicedialog.py:43: undefined name 'Layoutf'
./usr/lib/thuban/Thuban/UI/multiplechoicedialog.py:45: undefined name 'Layoutf'
./usr/lib/thuban/Thuban/UI/multiplechoicedialog.py:46: undefined name 'Layoutf'
./usr/lib/thuban/Thuban/UI/colordialog.py:119: 'wxApp' imported but unused
./usr/lib/thuban/Thuban/UI/scalebar.py:10: '_' imported but unused
./usr/lib/thuban/Thuban/UI/scalebar.py:12: 'PROJ_UNITS_METERS' imported but unused
./usr/lib/thuban/Thuban/UI/view.py:27: 'MetaFileDC' imported but unused
./usr/lib/thuban/Thuban/UI/view.py:241: local variable 'render_start' is assigned to but never used
./usr/lib/thuban/Thuban/UI/classifier.py:29: 'wxColour2Color' imported but unused
./usr/lib/thuban/Thuban/UI/classifier.py:31: 'MAP_LAYERS_REMOVED' imported but unused
./usr/lib/thuban/Thuban/UI/classifier.py:40: 'Layer' imported but unused
./usr/lib/thuban/Thuban/UI/classifier.py:47: 'MAP_REPLACED' imported but unused
./usr/lib/thuban/Thuban/UI/classifier.py:198: undefined name 'ClassGroup'
./usr/lib/thuban/Thuban/UI/classifier.py:711: local variable 'group' is assigned to but never used
./usr/lib/thuban/Thuban/UI/classifier.py:935: local variable 'fieldType' is assigned to but never used
./usr/lib/thuban/Thuban/UI/classifier.py:1132: undefined name 'wxID_OK'
./usr/lib/thuban/Thuban/UI/classifier.py:1133: undefined name 'wxID_CANCEL'
./usr/lib/thuban/Thuban/UI/classifier.py:1348: undefined name 'self'
./usr/lib/thuban/Thuban/UI/baserenderer.py:24: 'traceback' imported but unused
./usr/lib/thuban/Thuban/UI/baserenderer.py:31: 'Thuban' imported but unused
./usr/lib/thuban/Thuban/UI/baserenderer.py:218: local variable 'scale' is assigned to but never used
./usr/lib/thuban/Thuban/UI/baserenderer.py:221: local variable 'map_proj' is assigned to but never used
./usr/lib/thuban/Thuban/UI/baserenderer.py:222: local variable 'layer_proj' is assigned to but never used
./usr/lib/thuban/Thuban/UI/baserenderer.py:227: local variable 'old_prop' is assigned to but never used
./usr/lib/thuban/Thuban/UI/baserenderer.py:228: local variable 'old_group' is assigned to but never used
./usr/lib/thuban/Thuban/UI/projdialog.py:33: redefinition of unused 'ThubanBeginBusyCursor' from line 30
./usr/lib/thuban/Thuban/UI/projdialog.py:33: redefinition of unused 'ThubanEndBusyCursor' from line 30
./usr/lib/thuban/Thuban/UI/projdialog.py:878: local variable 'result' is assigned to but never used
./usr/lib/thuban/Thuban/UI/__init__.py:67: local variable 'internal_encoding' is assigned to but never used
./usr/lib/thuban/Thuban/UI/hittest.py:15: 'hypot' imported but unused
./usr/lib/thuban/Thuban/UI/rasterlayerproperties.py:19: 'has_gdal_support' imported but unused
./usr/lib/thuban/Thuban/UI/rasterlayerproperties.py:19: 'gdal_support_status' imported but unused
./usr/lib/thuban/Thuban/UI/rasterlayerproperties.py:21: 'versions' imported but unused
./usr/lib/thuban/Thuban/UI/resource.py:16: 'Thuban' imported but unused
./usr/lib/thuban/Thuban/UI/resource.py:17: 'get_thuban_dir' imported but unused
./usr/lib/thuban/Thuban/UI/legend.py:20: 'Map' imported but unused
./usr/lib/thuban/Thuban/UI/legend.py:36: 'ConnectorError' imported but unused
./usr/lib/thuban/Thuban/UI/legend.py:281: local variable 'shift' is assigned to but never used
./usr/lib/thuban/Thuban/UI/legend.py:542: local variable 'root' is assigned to but never used
./usr/lib/thuban/Thuban/UI/renderer.py:24: '_' imported but unused
./usr/lib/thuban/Thuban/UI/renderer.py:42: 'floor' imported but unused
./usr/lib/thuban/Thuban/UI/renderer.py:44: 'StringType' imported but unused
./usr/lib/thuban/Thuban/UI/renderer.py:101: local variable 'x' is assigned to but never used
./usr/lib/thuban/Thuban/UI/application.py:39: 'view' imported but unused
./usr/lib/thuban/Thuban/UI/application.py:40: 'tree' imported but unused
./usr/lib/thuban/Thuban/UI/application.py:108: 'Thuban' imported but unused
./usr/lib/thuban/Thuban/UI/application.py:117: 'thubanstart' imported but unused
./usr/lib/thuban/Thuban/UI/mainwindow.py:33: 'PostGISShapeStore' imported but unused
./usr/lib/thuban/Thuban/UI/mainwindow.py:59: redefinition of unused 'RasterLayer' from line 32
./usr/lib/thuban/Extensions/importAPR/importAPR.py:17: 'os' imported but unused
./usr/lib/thuban/Extensions/importAPR/importAPR.py:33: 'APR_BLnSym' imported but unused
./usr/lib/thuban/Extensions/importAPR/importAPR.py:33: 'APR_LClass' imported but unused
./usr/lib/thuban/Extensions/importAPR/importAPR.py:33: 'APR_BMkSym' imported but unused
./usr/lib/thuban/Extensions/importAPR/importAPR.py:33: 'APR_TClr' imported but unused
./usr/lib/thuban/Extensions/importAPR/importAPR.py:33: 'APR_BShSym' imported but unused
./usr/lib/thuban/Extensions/importAPR/__init__.py:9: 'importAPR' imported but unused
./usr/lib/thuban/Extensions/importAPR/odb.py:88: undefined name 's'
./usr/lib/thuban/Extensions/profiling/__init__.py:9: 'profiling' imported but unused
./usr/lib/thuban/Extensions/bboxdump/bboxdump.py:20: 'sys' imported but unused
./usr/lib/thuban/Extensions/bboxdump/bboxdump.py:33: 'shapelib' imported but unused
./usr/lib/thuban/Extensions/bboxdump/bboxdump.py:34: 'dbflib' imported but unused
./usr/lib/thuban/Extensions/bboxdump/__init__.py:10: 'bboxdump' imported but unused
./usr/lib/thuban/Extensions/ogr/ogrshapes.py:17: redefinition of unused 'ogr' from line 15
./usr/lib/thuban/Extensions/ogr/ogrshapes.py:21: '_' imported but unused
./usr/lib/thuban/Extensions/ogr/ogrshapes.py:24: 'TransientDatabase' imported but unused
./usr/lib/thuban/Extensions/ogr/ogrshapes.py:27: 'RAW_SHAPEFILE' imported but unused
./usr/lib/thuban/Extensions/ogr/ogrshapes.py:27: 'RAW_WKT' imported but unused
./usr/lib/thuban/Extensions/ogr/ogrshapes.py:309: local variable 'fid' is assigned to but never used
./usr/lib/thuban/Extensions/ogr/ogrshapes.py:495: local variable 'fid' is assigned to but never used
./usr/lib/thuban/Extensions/ogr/ogrstart.py:186: undefined name 'context'
./usr/lib/thuban/Extensions/ogr/ogrdialog.py:12: 'traceback' imported but unused
./usr/lib/thuban/Extensions/ogr/ogrdialog.py:12: 'sys' imported but unused
./usr/lib/thuban/Extensions/ogr/ogrdialog.py:19: redefinition of unused 'ogr' from line 17
./usr/lib/thuban/Extensions/ogr/ogrdialog.py:23: 'ogrshapes' imported but unused
./usr/lib/thuban/Extensions/ogr/__init__.py:19: 'ogrstart' imported but unused
./usr/lib/thuban/Extensions/svgexport/maplegend.py:29: 'Transparent' imported but unused
./usr/lib/thuban/Extensions/svgexport/maplegend.py:29: 'Color' imported but unused
./usr/lib/thuban/Extensions/svgexport/maplegend.py:32: 'RAW_SHAPEFILE' imported but unused
./usr/lib/thuban/Extensions/svgexport/maplegend.py:38: 'SOLID' imported but unused
./usr/lib/thuban/Extensions/svgexport/maplegend.py:38: 'TRANSPARENT_PEN' imported but unused
./usr/lib/thuban/Extensions/svgexport/maplegend.py:38: 'Brush' imported but unused
./usr/lib/thuban/Extensions/svgexport/__init__.py:15: 'svgsaver' imported but unused
./usr/lib/thuban/Extensions/svgexport/__init__.py:16: 'maplegend' imported but unused
./usr/lib/thuban/Extensions/svgexport/svgmapwriter.py:309: local variable 'props' is assigned to but never used
./usr/lib/thuban/Extensions/umn_mapserver/mf_export.py:29: 'mapObj' imported but unused
./usr/lib/thuban/Extensions/umn_mapserver/mf_export.py:46: 'MF_Map' imported but unused
./usr/lib/thuban/Extensions/umn_mapserver/mapfile.py:1002: redefinition of function 'get_imagetype' from line 949
./usr/lib/thuban/Extensions/umn_mapserver/mf_handle.py:25: 'sys' imported but unused
./usr/lib/thuban/Extensions/umn_mapserver/mf_handle.py:25: 'os' imported but unused
./usr/lib/thuban/Extensions/umn_mapserver/mf_handle.py:28: 'mapObj' imported but unused
./usr/lib/thuban/Extensions/umn_mapserver/mf_handle.py:28: 'layerObj' imported but unused
./usr/lib/thuban/Extensions/umn_mapserver/mf_handle.py:47: 'MF_Map' imported but unused
./usr/lib/thuban/Extensions/umn_mapserver/mf_handle.py:202: local variable 'outformat' is assigned to but never used
./usr/lib/thuban/Extensions/umn_mapserver/mf_handle.py:328: 'MF_Layer' imported but unused
./usr/lib/thuban/Extensions/umn_mapserver/mf_handle.py:1290: local variable 'val' is assigned to but never used
./usr/lib/thuban/Extensions/umn_mapserver/mf_handle.py:1298: local variable 'val' is assigned to but never used
./usr/lib/thuban/Extensions/umn_mapserver/mf_handle.py:1305: local variable 'val' is assigned to but never used
./usr/lib/thuban/Extensions/umn_mapserver/mf_handle.py:1308: undefined name 'OutputFormat_Dialog'
./usr/lib/thuban/Extensions/umn_mapserver/mf_handle.py:1312: local variable 'val' is assigned to but never used
./usr/lib/thuban/Extensions/umn_mapserver/mf_handle.py:1319: local variable 'val' is assigned to but never used
./usr/lib/thuban/Extensions/umn_mapserver/mf_handle.py:1326: local variable 'val' is assigned to but never used
./usr/lib/thuban/Extensions/umn_mapserver/mf_handle.py:1333: local variable 'val' is assigned to but never used
./usr/lib/thuban/Extensions/umn_mapserver/__init__.py:14: 'mapscript' imported but unused
./usr/lib/thuban/Extensions/umn_mapserver/__init__.py:20: 'mf_import' imported but unused
./usr/lib/thuban/Extensions/umn_mapserver/__init__.py:21: 'mf_export' imported but unused
./usr/lib/thuban/Extensions/umn_mapserver/__init__.py:22: 'mf_handle' imported but unused
./usr/lib/thuban/Extensions/umn_mapserver/mf_import.py:205: local variable 'oneexpr_result' is assigned to but never used
./usr/lib/thuban/Extensions/umn_mapserver/mf_import.py:559: local variable 'selectedlayer' is assigned to but never used
./usr/lib/thuban/Extensions/umn_mapserver/mf_import.py:561: redefinition of function 'import_layer_from_mapfile' from line 527
./usr/lib/thuban/Extensions/umn_mapserver/mf_import.py:579: local variable 'oldmapobj' is assigned to but never used
./usr/lib/thuban/Extensions/gns2shp/__init__.py:14: 'gns2shp' imported but unused
./usr/lib/thuban/Extensions/wms/__init__.py:12: 'owslib' imported but unused
./usr/lib/thuban/Extensions/wms/__init__.py:18: 'wms' imported but unused
./usr/lib/thuban/Extensions/wms/wms.py:19: 'sys' imported but unused
./usr/lib/thuban/Extensions/wms/wms.py:19: 'os' imported but unused
./usr/lib/thuban/Extensions/wms/wms.py:20: 'xml' imported but unused
./usr/lib/thuban/Extensions/wms/wms.py:21: 'tempfile' imported but unused
./usr/lib/thuban/Extensions/wms/wms.py:25: 'Projection' imported but unused
./usr/lib/thuban/Extensions/wms/layer.py:332: local variable 'bbox_dict' is assigned to but never used
./usr/lib/thuban/Extensions/mouseposition/mouseposition.py:23: 'sys' imported but unused
./usr/lib/thuban/Extensions/mouseposition/mouseposition.py:24: 'string' imported but unused
./usr/lib/thuban/Extensions/mouseposition/mouseposition.py:29: 'ThubanEndBusyCursor' imported but unused
./usr/lib/thuban/Extensions/mouseposition/mouseposition.py:29: 'ThubanBeginBusyCursor' imported but unused
./usr/lib/thuban/Extensions/mouseposition/mouseposition.py:80: local variable 'map_proj' is assigned to but never used
./usr/lib/thuban/Extensions/mouseposition/__init__.py:9: 'mouseposition' imported but unused

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