summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-06-10 15:37:16 +0200
committerJulian Andres Klode <jak@debian.org>2015-06-10 15:40:11 +0200
commitce08058eebc60536cc8088ee79efc80a40f13c9e (patch)
treeba4d701c7860db14a4bd52507a7eb1b9e2614898 /doc
parentb263b8d1a6a84bd34290a1ae52d3c1ee33124d1b (diff)
downloadpython-apt-ce08058eebc60536cc8088ee79efc80a40f13c9e.tar.gz
apt_pkg.Package: Drop the unset 'auto' attribute
If somebody uses that, it could assume that no package is auto removable, because the attribute is always 0. So let's just remove that instead of having crazy code working the way it's not intended. Closes: #565364
Diffstat (limited to 'doc')
-rw-r--r--doc/source/library/apt_pkg.rst7
-rw-r--r--doc/source/whatsnew/1.0.rst2
2 files changed, 2 insertions, 7 deletions
diff --git a/doc/source/library/apt_pkg.rst b/doc/source/library/apt_pkg.rst
index bdf096a4..5ccb93ae 100644
--- a/doc/source/library/apt_pkg.rst
+++ b/doc/source/library/apt_pkg.rst
@@ -820,13 +820,6 @@ Resolving Dependencies with :class:`ProblemResolver`
**Flags**:
- .. attribute:: auto
-
- This flag is here for compatibility purposes and does not appear to
- be used anymore in APT. To find out whether a package is marked as
- automatically installed, use :meth:`DepCache.is_auto_installed`
- instead.
-
.. attribute:: essential
Whether the package has the 'Essential' flag set; that is,
diff --git a/doc/source/whatsnew/1.0.rst b/doc/source/whatsnew/1.0.rst
index bc022463..5fa92ece 100644
--- a/doc/source/whatsnew/1.0.rst
+++ b/doc/source/whatsnew/1.0.rst
@@ -29,6 +29,8 @@ Removed
Therefore, there is no replacement, please use PackageKit or aptdaemon
for installation in graphical environments.
+* The attribute :attr:`apt_pkg.Package.auto` was not set anymore, and thus
+ removed.
Maintenance
-----------