Debian Automated Code Analysis

pyflakes analysis of pytrainer_1.8.0-1_all.deb

./usr/share/pyshared/pytrainer/extension.py:108: local variable 'name' is assigned to but never used
./usr/share/pyshared/pytrainer/record.py:23: 'traceback' imported but unused
./usr/share/pyshared/pytrainer/record.py:27: 'DDBB' imported but unused
./usr/share/pyshared/pytrainer/record.py:28: 'XMLParser' imported but unused
./usr/share/pyshared/pytrainer/record.py:63: undefined name '_'
./usr/share/pyshared/pytrainer/record.py:84: local variable 'record' is assigned to but never used
./usr/share/pyshared/pytrainer/record.py:85: local variable 'laps' is assigned to but never used
./usr/share/pyshared/pytrainer/record.py:196: local variable 'lap_values' is assigned to but never used
./usr/share/pyshared/pytrainer/record.py:362: local variable 'lap_values' is assigned to but never used
./usr/share/pyshared/pytrainer/record.py:513: undefined name '_'
./usr/share/pyshared/pytrainer/main.py:20: 'locale' imported but unused
./usr/share/pyshared/pytrainer/main.py:24: 'gobject' imported but unused
./usr/share/pyshared/pytrainer/main.py:27: 'gtk' imported but unused
./usr/share/pyshared/pytrainer/main.py:31: 'traceback' imported but unused
./usr/share/pyshared/pytrainer/main.py:33: 'path' imported but unused
./usr/share/pyshared/pytrainer/main.py:45: 'WindowImportdata' imported but unused
./usr/share/pyshared/pytrainer/main.py:442: undefined name '_'
./usr/share/pyshared/pytrainer/main.py:458: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:134: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:134: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:134: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:136: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:136: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:136: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:138: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:138: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:138: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:140: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:140: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:140: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:142: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:142: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:142: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:144: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:144: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:144: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:146: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:146: undefined name '_'
./usr/share/pyshared/pytrainer/recordgraph.py:146: undefined name '_'
./usr/share/pyshared/pytrainer/weekgraph.py:22: 'calendar' imported but unused
./usr/share/pyshared/pytrainer/weekgraph.py:115: undefined name '_'
./usr/share/pyshared/pytrainer/weekgraph.py:115: undefined name '_'
./usr/share/pyshared/pytrainer/weekgraph.py:117: undefined name '_'
./usr/share/pyshared/pytrainer/weekgraph.py:117: undefined name '_'
./usr/share/pyshared/pytrainer/weekgraph.py:119: undefined name '_'
./usr/share/pyshared/pytrainer/weekgraph.py:119: undefined name '_'
./usr/share/pyshared/pytrainer/weekgraph.py:121: undefined name '_'
./usr/share/pyshared/pytrainer/weekgraph.py:121: undefined name '_'
./usr/share/pyshared/pytrainer/weekgraph.py:123: undefined name '_'
./usr/share/pyshared/pytrainer/weekgraph.py:123: undefined name '_'
./usr/share/pyshared/pytrainer/heartrategraph.py:36: undefined name '_'
./usr/share/pyshared/pytrainer/heartrategraph.py:36: undefined name '_'
./usr/share/pyshared/pytrainer/heartrategraph.py:36: undefined name '_'
./usr/share/pyshared/pytrainer/yeargraph.py:70: undefined name '_'
./usr/share/pyshared/pytrainer/yeargraph.py:70: undefined name '_'
./usr/share/pyshared/pytrainer/yeargraph.py:70: undefined name '_'
./usr/share/pyshared/py./usr/share/pyshared/pytrainer/profile.py:85: invalid syntax
        except Exception as e:
                           ^
./usr/share/pyshared/pytrainer/extensions/googlemaps.py:192: invalid syntax
            except Exception as e:
                               ^
./usr/share/pyshared/pytrainer/extensions/osm.py:110: invalid syntax
		except Exception as e:
                     ^
./usr/share/pyshared/pytrainer/extensions/waypointeditor.py:67: invalid syntax
					except ValueError as e:
                         ^
./usr/share/pyshared/pytrainer/gui/windowmain.py:150: invalid syntax
        except Exception as e:
                           ^
./usr/share/pyshared/pytrainer/gui/windowimportdata.py:57: invalid syntax
        except Exception as e:
                           ^
./usr/share/pyshared/pytrainer/gui/windowprofile.py:85: invalid syntax
                except AttributeError as e:
                                        ^
trainer/yeargraph.py:72: undefined name '_'
./usr/share/pyshared/pytrainer/yeargraph.py:72: undefined name '_'
./usr/share/pyshared/pytrainer/yeargraph.py:72: undefined name '_'
./usr/share/pyshared/pytrainer/yeargraph.py:74: undefined name '_'
./usr/share/pyshared/pytrainer/yeargraph.py:74: undefined name '_'
./usr/share/pyshared/pytrainer/yeargraph.py:74: undefined name '_'
./usr/share/pyshared/pytrainer/yeargraph.py:76: undefined name '_'
./usr/share/pyshared/pytrainer/yeargraph.py:76: undefined name '_'
./usr/share/pyshared/pytrainer/yeargraph.py:76: undefined name '_'
./usr/share/pyshared/pytrainer/yeargraph.py:78: undefined name '_'
./usr/share/pyshared/pytrainer/yeargraph.py:78: undefined name '_'
./usr/share/pyshared/pytrainer/yeargraph.py:78: undefined name '_'
./usr/share/pyshared/pytrainer/monthgraph.py:20: 'dateutil' imported but unused
./usr/share/pyshared/pytrainer/monthgraph.py:70: undefined name '_'
./usr/share/pyshared/pytrainer/monthgraph.py:70: undefined name '_'
./usr/share/pyshared/pytrainer/monthgraph.py:70: undefined name '_'
./usr/share/pyshared/pytrainer/monthgraph.py:72: undefined name '_'
./usr/share/pyshared/pytrainer/monthgraph.py:72: undefined name '_'
./usr/share/pyshared/pytrainer/monthgraph.py:72: undefined name '_'
./usr/share/pyshared/pytrainer/monthgraph.py:74: undefined name '_'
./usr/share/pyshared/pytrainer/monthgraph.py:74: undefined name '_'
./usr/share/pyshared/pytrainer/monthgraph.py:74: undefined name '_'
./usr/share/pyshared/pytrainer/monthgraph.py:76: undefined name '_'
./usr/share/pyshared/pytrainer/monthgraph.py:76: undefined name '_'
./usr/share/pyshared/pytrainer/monthgraph.py:76: undefined name '_'
./usr/share/pyshared/pytrainer/monthgraph.py:78: undefined name '_'
./usr/share/pyshared/pytrainer/monthgraph.py:78: undefined name '_'
./usr/share/pyshared/pytrainer/monthgraph.py:78: undefined name '_'
./usr/share/pyshared/pytrainer/importdata.py:19: 'os' imported but unused
./usr/share/pyshared/pytrainer/athlete.py:23: 'DDBB' imported but unused
./usr/share/pyshared/pytrainer/athlete.py:52: undefined name '_'
./usr/share/pyshared/pytrainer/athlete.py:54: undefined name '_'
./usr/share/pyshared/pytrainer/daygraph.py:52: undefined name '_'
./usr/share/pyshared/pytrainer/daygraph.py:52: undefined name '_'
./usr/share/pyshared/pytrainer/daygraph.py:52: undefined name '_'
./usr/share/pyshared/pytrainer/daygraph.py:54: undefined name '_'
./usr/share/pyshared/pytrainer/daygraph.py:54: undefined name '_'
./usr/share/pyshared/pytrainer/daygraph.py:54: undefined name '_'
./usr/share/pyshared/pytrainer/daygraph.py:56: undefined name '_'
./usr/share/pyshared/pytrainer/daygraph.py:56: undefined name '_'
./usr/share/pyshared/pytrainer/daygraph.py:56: undefined name '_'
./usr/share/pyshared/pytrainer/waypoint.py:87: undefined name '_'
./usr/share/pyshared/pytrainer/extensions/mapviewer.py:21: 'os' imported but unused
./usr/share/pyshared/pytrainer/gui/drawGraph.py:19: 'matplotlib' imported but unused
./usr/share/pyshared/pytrainer/gui/drawGraph.py:21: 'Figure' imported but unused
./usr/share/pyshared/pytrainer/gui/drawGraph.py:170: undefined name '_'
./usr/share/pyshared/pytrainer/gui/drawGraph.py:185: local variable 'datalist' is assigned to but never used
./usr/share/pyshared/pytrainer/gui/dialogs.py:19: 'os' imported but unused
./usr/share/pyshared/pytrainer/gui/windowextensions.py:70: undefined name '_'
./usr/share/pyshared/pytrainer/gui/windowextensions.py:72: undefined name '_'
./usr/share/pyshared/pytrainer/gui/windowextensions.py:81: undefined name '_'
./usr/share/pyshared/pytrainer/gui/windowextensions.py:112: undefined name '_'
./usr/share/pyshared/pytrainer/gui/windowextensions.py:125: undefined name '_'
./usr/share/pyshared/pytrainer/gui/drawArea.py:25: 'pylab' imported but unused
./usr/share/pyshared/pytrainer/gui/drawArea.py:64: local variable 'xmod' is assigned to but never used
./usr/share/pyshared/pytrainer/gui/drawArea.py:165: undefined name '_'
./usr/share/pyshared/pytrainer/gui/drawArea.py:166: undefined name '_'
./usr/share/pyshared/pytrainer/gui/drawArea.py:201: loca./usr/share/pyshared/pytrainer/gui/windowrecord.py:331: invalid syntax
        except Exception as e:
                           ^
./usr/share/pyshared/pytrainer/lib/date.py:98: invalid syntax
        except Exception as e:
                           ^
./usr/share/pyshared/pytrainer/lib/ddbb.py:203: invalid syntax
            except Exception as e:
                               ^
./usr/share/pyshared/pytrainer/lib/gpx.py:233: invalid syntax
            except Exception as e:
                               ^
./usr/share/pyshared/pytrainer/lib/unitsconversor.py:36: Warning: 'as' will become a reserved keyword in Python 2.6
./usr/share/pyshared/pytrainer/lib/unitsconversor.py:36: invalid syntax
    except Exception as e:
                       ^
./usr/share/pyshared/pytrainer/lib/mysqlUtils.py:45: invalid syntax
        except _mysql_exceptions.OperationalError as e:
                                                    ^
./usr/share/pyshared/pytrainer/lib/activity.py:466: invalid syntax
			except Exception as e:
                      ^
l variable 'width' is assigned to but never used
./usr/share/pyshared/pytrainer/gui/drawArea.py:399: undefined name '_'
./usr/share/pyshared/pytrainer/gui/drawArea.py:489: undefined name 'asarray'
./usr/share/pyshared/pytrainer/gui/drawArea.py:490: undefined name 'nonzero'
./usr/share/pyshared/pytrainer/gui/drawArea.py:490: undefined name 'less'
./usr/share/pyshared/pytrainer/gui/dialogselecttrack.py:40: undefined name '_'
./usr/share/pyshared/pytrainer/gui/dialogselecttrack.py:40: undefined name '_'
./usr/share/pyshared/pytrainer/gui/windowplugins.py:22: 'os' imported but unused
./usr/share/pyshared/pytrainer/gui/windowplugins.py:69: undefined name '_'
./usr/share/pyshared/pytrainer/gui/windowplugins.py:71: undefined name '_'
./usr/share/pyshared/pytrainer/gui/windowplugins.py:80: undefined name '_'
./usr/share/pyshared/pytrainer/gui/windowplugins.py:95: undefined name '_'
./usr/share/pyshared/pytrainer/gui/windowplugins.py:96: undefined name '_'
./usr/share/pyshared/pytrainer/gui/windowplugins.py:103: undefined name '_'
./usr/share/pyshared/pytrainer/lib/sqliteUtils.py:27: redefinition of unused 'sqlite' from line 24
./usr/share/pyshared/pytrainer/lib/gtrnctr2gpx.py:20: 'sys' imported but unused
./usr/share/pyshared/pytrainer/lib/test_gpx.py:58: local variable 'g' is assigned to but never used
./usr/share/pyshared/pytrainer/lib/test_gpx.py:77: local variable 'g' is assigned to but never used
./usr/share/pyshared/pytrainer/lib/listview.py:143: local variable 'firstEntry' is assigned to but never used
./usr/share/pyshared/pytrainer/lib/listview.py:155: local variable 'firstEntry' is assigned to but never used
./usr/share/pyshared/pytrainer/lib/listview.py:167: local variable 'firstEntry' is assigned to but never used
./usr/share/pyshared/pytrainer/lib/xmlUtils.py:22: 'os' imported but unused
./usr/share/pyshared/pytrainer/lib/xmlUtils.py:26: 'minidom' imported but unused
./usr/share/pyshared/pytrainer/lib/xmlUtils.py:26: 'Node' imported but unused
./usr/share/pyshared/pytrainer/lib/srtmlayer.py:2: 'stat' imported but unused
./usr/share/pyshared/pytrainer/lib/srtmlayer.py:2: 'sys' imported but unused
./usr/share/pyshared/pytrainer/lib/srtmlayer.py:3: 'logging' imported but unused
./usr/share/pyshared/pytrainer/lib/srtmlayer.py:5: 'random' imported but unused
./usr/share/pyshared/pytrainer/lib/srtmlayer.py:5: 'zipfile' imported but unused
./usr/share/pyshared/pytrainer/lib/srtmlayer.py:5: 'urllib2' imported but unused
./usr/share/pyshared/pytrainer/lib/srtmlayer.py:5: 're' imported but unused
./usr/share/pyshared/pytrainer/lib/srtmlayer.py:7: 'StringIO' imported but unused
./usr/share/pyshared/pytrainer/lib/srtmlayer.py:8: 'gdalnumeric' imported but unused
./usr/share/pyshared/pytrainer/lib/srtmlayer.py:8: 'gdal' imported but unused
./usr/share/pyshared/pytrainer/lib/srtmtiff.py:3: 'logging' imported but unused
./usr/share/pyshared/pytrainer/lib/srtmtiff.py:101: local variable 'S' is assigned to but never used
./usr/share/pyshared/pytrainer/lib/srtmtiff.py:102: local variable 'E' is assigned to but never used
./usr/share/pytrainer/extensions/openstreetmap/openstreetmap.py:2: 'OptionParser' imported but unused
./usr/share/pytrainer/extensions/openstreetmap/openstreetmap.py:4: 'sys' imported but unused
./usr/share/pytrainer/extensions/openstreetmap/openstreetmap.py:11: 'httplib' imported but unused
./usr/share/pytrainer/extensions/openstreetmap/openstreetmap.py:12: 'urllib2' imported but unused
./usr/share/pytrainer/extensions/openstreetmap/openstreetmap.py:30: undefined name '_'
./usr/share/pytrainer/extensions/openstreetmap/openstreetmap.py:32: undefined name '_'
./usr/share/pytrainer/extensions/openstreetmap/openstreetmap.py:79: undefined name '_'
./usr/share/pytrainer/extensions/openstreetmap/openstreetmap.py:81: undefined name '_'
./usr/share/pytrainer/extensions/openstreetmap/openstreetmap.py:99: undefined name '_'
./usr/share/pytrainer/extensions/openstreetmap/openstreetmap.py:109: undefined name '_'
./usr/share/pytrainer/extensions/openstreetmap/openstreetmap.py:181: local variable 'file_size' is assigned to but neve./usr/share/pytrainer/extensions/wordpress/wordpress.py:68: invalid syntax
        except Exception as e:
                           ^
./usr/share/pytrainer/import/file_kml20.py:106: invalid syntax
					except Exception as e:
                        ^
r used
./usr/share/pytrainer/extensions/openstreetmap/openstreetmap.py:215: local variable 'FILTER_BOX' is assigned to but never used
./usr/share/pytrainer/extensions/openstreetmap/openstreetmap.py:216: local variable 'ERASE_TIME' is assigned to but never used
./usr/share/pytrainer/extensions/openstreetmap/openstreetmap.py:217: local variable 'LAP_TO_WAYPOINT' is assigned to but never used
./usr/share/pytrainer/extensions/openstreetmap/openstreetmap.py:233: local variable 'mygpx' is assigned to but never used
./usr/share/pytrainer/extensions/wordpress/wordpresslib.py:54: 're' imported but unused
./usr/share/pytrainer/extensions/wordpress/wordpresslib.py:57: 'datetime' imported but unused
./usr/share/pytrainer/extensions/fixelevation/fixelevation.py:40: local variable 'nsmap' is assigned to but never used
./usr/share/pytrainer/extensions/fixelevation/fixelevation.py:53: local variable 'ele' is assigned to but never used
./usr/share/pytrainer/extensions/fixelevation/fixelevation.py:94: undefined name '_'
./usr/share/pytrainer/plugins/googleearth/main.py:47: local variable 'outgps' is assigned to but never used
./usr/share/pytrainer/plugins/garmintools_full/garmintools_full.py:24: 'sys' imported but unused
./usr/share/pytrainer/plugins/garmintools_full/garmintools_full.py:26: 'fnmatch' imported but unused
./usr/share/pytrainer/plugins/garmintools_full/garmintools_full.py:34: 'date' imported but unused
./usr/share/pytrainer/plugins/garmintools_full/garmintools_full.py:35: 'from dateutil.tz import *' used; unable to detect undefined names
./usr/share/pytrainer/import/file_garmintcxv2.py:25: 'XMLParser' imported but unused
./usr/share/pytrainer/import/file_garmintcxv2.py:43: undefined name '_'
./usr/share/pytrainer/import/file_gpxplus.py:41: undefined name '_'
./usr/share/pytrainer/import/tool_gant.py:20: 'logging' imported but unused
./usr/share/pytrainer/import/tool_gant.py:21: 'sys' imported but unused
./usr/share/pytrainer/import/tool_gant.py:22: 'StringIO' imported but unused
./usr/share/pytrainer/import/tool_gant.py:23: 'etree' imported but unused
./usr/share/pytrainer/import/tool_gant.py:25: 'from dateutil.tz import *' used; unable to detect undefined names
./usr/share/pytrainer/import/tool_gpsbabel.py:21: 'sys' imported but unused
./usr/share/pytrainer/import/tool_gpsbabel.py:22: 'StringIO' imported but unused
./usr/share/pytrainer/import/tool_gpsbabel.py:23: 'etree' imported but unused
./usr/share/pytrainer/import/tool_gpsbabel.py:25: 'from dateutil.tz import *' used; unable to detect undefined names
./usr/share/pytrainer/import/file_garmintools.py:44: undefined name '_'
./usr/share/pytrainer/import/file_gpxplusNokia.py:41: undefined name '_'
./usr/share/pytrainer/import/tool_garmintools.py:20: 'logging' imported but unused
./usr/share/pytrainer/import/tool_garmintools.py:21: 'sys' imported but unused
./usr/share/pytrainer/import/tool_garmintools.py:22: 'StringIO' imported but unused
./usr/share/pytrainer/import/tool_garmintools.py:23: 'etree' imported but unused
./usr/share/pytrainer/import/tool_garmintools.py:25: 'from dateutil.tz import *' used; unable to detect undefined names
./usr/share/pytrainer/import/file_garmintcxv1.py:24: 'XMLParser' imported but unused
./usr/share/pytrainer/import/file_garmintcxv1.py:45: undefined name '_'

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