Source: python-apt
Version: 0.8.5
Severity: minor
Tags: patch

Please see the attached patch.

--
Jakub Wilk
diff --git a/apt/progress/base.py b/apt/progress/base.py
--- a/apt/progress/base.py
+++ b/apt/progress/base.py
@@ -65,7 +65,7 @@
     def media_change(self, media, drive):
         """Prompt the user to change the inserted removable media.
 
-        The parameter 'media' decribes the name of the the media type that
+        The parameter 'media' decribes the name of the media type that
         should be changed, whereas the parameter 'drive' should be the
         identifying name of the drive whose media should be changed.
 
diff --git a/doc/source/library/apt.progress.base.rst b/doc/source/library/apt.progress.base.rst
--- a/doc/source/library/apt.progress.base.rst
+++ b/doc/source/library/apt.progress.base.rst
@@ -51,7 +51,7 @@
         is called whenever a media change is needed to ask the user to insert
         the needed media.
  
-        The parameter *media* decribes the name of the the media type that
+        The parameter *media* decribes the name of the media type that
         should be changed, whereas the parameter *drive* should be the
         identifying name of the drive whose media should be changed.
 
diff --git a/doc/source/library/apt_pkg.rst b/doc/source/library/apt_pkg.rst
--- a/doc/source/library/apt_pkg.rst
+++ b/doc/source/library/apt_pkg.rst
@@ -47,7 +47,7 @@
 
         The cache supports colon-separated name:architecture pairs. For
         normal architectures, they are equal to a (name, architecture)
-        tuple. For the the "any" architecture behavior is different, as
+        tuple. For the "any" architecture behavior is different, as
         "name:any" is equivalent to ("name:any", "any"). This is done so
         that "name:any" matches all packages with that name which have
         Multi-Arch: allowed set.
@@ -410,17 +410,17 @@
 
     .. attribute:: RESULT_COMPLETED
 
-        A constant for checking whether the the result of the call to
+        A constant for checking whether the result of the call to
         :meth:`do_install` is 'failed'.
 
     .. attribute:: RESULT_FAILED
 
-        A constant for checking whether the the result of the call to
+        A constant for checking whether the result of the call to
         :meth:`do_install` is 'failed'.
 
     .. attribute:: RESULT_INCOMPLETE
 
-        A constant for checking whether the the result of the call to
+        A constant for checking whether the result of the call to
         :meth:`do_install` is 'incomplete'.
         
     All instances of this class also support the following methods:

Reply via email to