diff options
| author | von <matvon@mailoo.org> | 2015-05-10 16:38:02 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2015-06-10 10:44:19 +0200 |
| commit | 8f31026d3a1d5b097f60fdd14247d483945985d3 (patch) | |
| tree | b5526710ed4708d97b7c188c5e3460526058f979 /apt | |
| parent | 0123aee9d24556b1515a48c8c666e6f23162cb17 (diff) | |
| download | python-apt-8f31026d3a1d5b097f60fdd14247d483945985d3.tar.gz | |
Fix indentation and docstring problems
Closes: #784910
Diffstat (limited to 'apt')
| -rw-r--r-- | apt/cache.py | 12 | ||||
| -rw-r--r-- | apt/package.py | 1 |
2 files changed, 7 insertions, 6 deletions
diff --git a/apt/cache.py b/apt/cache.py index 69ee3693..f94f2146 100644 --- a/apt/cache.py +++ b/apt/cache.py @@ -59,11 +59,11 @@ class Cache(object): objects (although only getting items is supported). Keyword arguments: - progress -- a OpProgress object - rootdir -- a alternative root directory. if that is given - the system sources.list and system lists/ files are - not read, only files relative to the given rootdir - memonly -- build the cache in memory only + progress -- a OpProgress object, + rootdir -- an alternative root directory. if that is given the system + sources.list and system lists/files are not read, only file relative + to the given rootdir, + memonly -- build the cache in memory only. """ def __init__(self, progress=None, rootdir=None, memonly=False): @@ -409,7 +409,7 @@ class Cache(object): apt.progress.FetchProgress, the default is apt.progress.FetchProgress() . sources_list -- Update a alternative sources.list than the default. - Note that the sources.list.d directory is ignored in this case + Note that the sources.list.d directory is ignored in this case """ lockfile = apt_pkg.config.find_dir("Dir::State::Lists") + "lock" lock = apt_pkg.get_lock(lockfile) diff --git a/apt/package.py b/apt/package.py index 810d9dcc..8561d3c4 100644 --- a/apt/package.py +++ b/apt/package.py @@ -785,6 +785,7 @@ class Package(object): as :attr:`shortname` .. versionchanged:: 0.7.100.3 + As part of multi-arch, this field now may include architecture information. """ |
