diff options
| author | Michael Vogt <mvo@debian.org> | 2013-12-31 23:18:43 +0100 |
|---|---|---|
| committer | Michael Vogt <mvo@debian.org> | 2014-01-05 20:04:26 +0100 |
| commit | e3c26754af1891d2c50993730467fc9335ec5f09 (patch) | |
| tree | a4caaa2974ef7108807a790885c7b560f900a783 /apt | |
| parent | eac4d047d8774def55b03cb82d505d237d93ea55 (diff) | |
| download | python-apt-e3c26754af1891d2c50993730467fc9335ec5f09.tar.gz | |
make pyflakes clean
Diffstat (limited to 'apt')
| -rw-r--r-- | apt/__init__.py | 2 | ||||
| -rw-r--r-- | apt/auth.py | 1 | ||||
| -rw-r--r-- | apt/debfile.py | 1 | ||||
| -rw-r--r-- | apt/progress/__init__.py | 1 |
4 files changed, 3 insertions, 2 deletions
diff --git a/apt/__init__.py b/apt/__init__.py index 7b04befb..c4e78ba0 100644 --- a/apt/__init__.py +++ b/apt/__init__.py @@ -23,6 +23,8 @@ import apt_pkg # import some fancy classes from apt.package import Package from apt.cache import Cache, ProblemResolver +Cache # pyflakes +ProblemResolver # pyflakes from apt.cdrom import Cdrom # init the package system, but do not re-initialize config diff --git a/apt/auth.py b/apt/auth.py index c1b8da2a..d5a66b4a 100644 --- a/apt/auth.py +++ b/apt/auth.py @@ -24,7 +24,6 @@ # USA """Handle GnuPG keys used to trust signed repositories.""" -import atexit import os import os.path import shutil diff --git a/apt/debfile.py b/apt/debfile.py index 7f9cf9fc..c845b1f2 100644 --- a/apt/debfile.py +++ b/apt/debfile.py @@ -508,6 +508,7 @@ class DebPackage(object): # turn off MarkAndSweep via a action group (if available) try: _actiongroup = apt_pkg.ActionGroup(self._cache._depcache) + _actiongroup # pyflakes except AttributeError: pass # check depends diff --git a/apt/progress/__init__.py b/apt/progress/__init__.py index 00dc768f..776a7034 100644 --- a/apt/progress/__init__.py +++ b/apt/progress/__init__.py @@ -22,7 +22,6 @@ This package provides progress reporting for the python-apt package. The module 'base' provides classes with no output, the module 'gtk2' provides classes for GTK+ applications, and the module 'text' provides classes for terminals, etc. """ -import apt_pkg __all__ = [] |
