[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#599042: Incorrect doc string for mark_delete function

Package: python-apt
Version: 0.7.95

The mark_delete function has an incorrect doc string. This is also present in the documentation at http://apt.alioth.debian.org/python-apt-doc/library/apt.package.html.

The following patch will fix this issue:

=== modified file 'apt/package.py'
--- apt/package.py	2010-08-27 13:06:54 +0000
+++ apt/package.py	2010-10-03 23:55:19 +0000
@@ -1170,7 +1170,7 @@

     def mark_delete(self, auto_fix=True, purge=False):
-        """Mark a package for install.
+        """Mark a package for deletion.

         If *auto_fix* is ``True``, the resolver will be run, trying to fix
         broken packages.  This is the default.

Reply to: