Debian Automated Code Analysis

pyflakes analysis of python3-apt_0.7.100.3+b1_i386.deb

./usr/lib/python3/dist-packages/aptsources/distinfo.py:169: invalid syntax
            except OSError as exc:
                             ^
./usr/lib/python3/dist-packages/aptsources/distro.py:454: invalid syntax
    except OSError as exc:
                     ^
./usr/lib/python3/dist-packages/apt/debfile.py:465: invalid syntax
            except SystemError as e:
                                 ^
./usr/lib/python3/dist-packages/apt/cache.py:372: invalid syntax
            except SystemError as e:
                                 ^
./usr/lib/python3/dist-packages/apt/package.py:341: invalid syntax
        except UnicodeDecodeError as err:
                                    ^
./usr/lib/python3/dist-packages/apt/progress/old.py:158: invalid syntax
        print("\r%s" % (s), end=' ')
                                ^
./usr/lib/python3/dist-packages/apt/progress/gtk2.py:509: invalid syntax
    except Exception as exc:
                       ^
./usr/lib/python3/dist-packages/apt/progress/base.py:214: invalid syntax
        except IOError as err:
                         ^
./usr/lib/python3/dist-packages/aptsources/sourceslist.py:31: 'sys' imported but unused
./usr/lib/python3/dist-packages/aptsources/sourceslist.py:418: local variable '_' is assigned to but never used
./usr/lib/python3/dist-packages/apt/__init__.py:25: 'ProblemResolver' imported but unused
./usr/lib/python3/dist-packages/apt/__init__.py:29: 'OpProgress' imported but unused
./usr/lib/python3/dist-packages/apt/__init__.py:29: 'CdromProgress' imported but unused
./usr/lib/python3/dist-packages/apt/__init__.py:29: 'FetchProgress' imported but unused
./usr/lib/python3/dist-packages/apt/__init__.py:29: 'InstallProgress' imported but unused
./usr/lib/python3/dist-packages/apt/__init__.py:31: 'TimeToStr' imported but unused
./usr/lib/python3/dist-packages/apt/__init__.py:31: 'VersionCompare' imported but unused
./usr/lib/python3/dist-packages/apt/__init__.py:31: 'SizeToStr' imported but unused
./usr/lib/python3/dist-packages/apt/utils.py:49: undefined name 'next'
./usr/lib/python3/dist-packages/apt/progress/__init__.py:32: 'DpkgInstallProgress' imported but unused
./usr/lib/python3/dist-packages/apt/progress/__init__.py:32: 'OpProgress' imported but unused
./usr/lib/python3/dist-packages/apt/progress/__init__.py:32: 'CdromProgress' imported but unused
./usr/lib/python3/dist-packages/apt/progress/__init__.py:32: 'FetchProgress' imported but unused
./usr/lib/python3/dist-packages/apt/progress/__init__.py:32: 'DumbInstallProgress' imported but unused
./usr/lib/python3/dist-packages/apt/progress/__init__.py:32: 'InstallProgress' imported but unused
./usr/lib/python3/dist-packages/apt/progress/__init__.py:32: 'TextFetchProgress' imported but unused
./usr/lib/python3/dist-packages/apt/progress/__init__.py:32: 'OpTextProgress' imported but unused

This report was generated on Mon, 18 Apr 2011 06:29:29 +0000, based on results by pyflakes 0.4.0-1