From 8f31026d3a1d5b097f60fdd14247d483945985d3 Mon Sep 17 00:00:00 2001 From: von Date: Sun, 10 May 2015 16:38:02 +0200 Subject: Fix indentation and docstring problems Closes: #784910 --- apt/cache.py | 12 ++++++------ apt/package.py | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'apt') 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. """ -- cgit v1.2.3