summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2011-05-27 16:06:22 +0200
committerJulian Andres Klode <jak@debian.org>2011-05-27 16:06:22 +0200
commitab08c42c90e9aab009b6d5f1b4bdce0c68300fa5 (patch)
treef814d7db7455592dc1135a4681c21605dd5c3db8
parent1a1d96e49901a834d6208d3561877d8f16d5b758 (diff)
downloadpython-apt-ab08c42c90e9aab009b6d5f1b4bdce0c68300fa5.tar.gz
Fix spelling errors reported by Lintian (sep[a->e]rated, overrid[d]en)
-rw-r--r--debian/changelog1
-rw-r--r--doc/source/library/apt.progress.base.rst6
-rw-r--r--doc/source/library/apt_pkg.rst2
-rw-r--r--python/cdrom.cc2
-rw-r--r--python/pkgmanager.cc12
5 files changed, 12 insertions, 11 deletions
diff --git a/debian/changelog b/debian/changelog
index 85cd3166..53830d98 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ python-apt (0.8.0~exp5) UNRELEASED; urgency=low
* utils/get_debian_mirrors.py: Adjust for new Alioth SCM urls
* debian/control: Standards-Version 3.9.2
* Fix Lintian overrides
+ * Fix spelling errors reported by Lintian (sep[a->e]rated, overrid[d]en)
[ Tshepang Lekhonkhobe ]
* Fix get_changelog in Python 3 (Closes: #626532)
diff --git a/doc/source/library/apt.progress.base.rst b/doc/source/library/apt.progress.base.rst
index 3fd2a7a0..22006f77 100644
--- a/doc/source/library/apt.progress.base.rst
+++ b/doc/source/library/apt.progress.base.rst
@@ -233,7 +233,7 @@ InstallProgress
(Abstract) Called when a error is detected during the install.
- The following method should be overriden to implement progress reporting
+ The following method should be overridden to implement progress reporting
for dpkg-based runs i.e. calls to :meth:`run` with a filename:
.. method:: processing(pkg, stage)
@@ -252,7 +252,7 @@ InstallProgress
file (:file:`/var/lib/dpkg/status`) and documented
in :manpage:`dpkg(1)`.
- The following methods should be overriden to implement progress reporting
+ The following methods should be overridden to implement progress reporting
for :meth:`run` calls with an :class:`apt_pkg.PackageManager` object as
their parameter:
@@ -274,7 +274,7 @@ InstallProgress
This method is called when all changes have been applied.
There are also several methods which are fully implemented and should not
- be overriden by subclasses unless the subclass has very special needs:
+ be overridden by subclasses unless the subclass has very special needs:
.. method:: fork() -> int
diff --git a/doc/source/library/apt_pkg.rst b/doc/source/library/apt_pkg.rst
index 81f2d408..ffef9c50 100644
--- a/doc/source/library/apt_pkg.rst
+++ b/doc/source/library/apt_pkg.rst
@@ -45,7 +45,7 @@ Working with the cache
.. note::
- The cache supports colon-seperated name:architecture pairs. For
+ 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
"name:any" is equivalent to ("name:any", "any"). This is done so
diff --git a/python/cdrom.cc b/python/cdrom.cc
index 7f89e9d3..6ac16d59 100644
--- a/python/cdrom.cc
+++ b/python/cdrom.cc
@@ -52,7 +52,7 @@ static PyObject *cdrom_add(PyObject *Self,PyObject *Args)
static char *cdrom_ident_doc =
"ident(progress: apt_pkg.CdromProgress) -> str\n\n"
"Try to identify the CD-ROM and if successful return the hexadecimal\n"
- "CDROM-ID (and a integer version suffix seperated by -) as a\n"
+ "CDROM-ID (and a integer version suffix separated by -) as a\n"
"string. Otherwise, return None or raise an error.\n\n"
"The ID is created by hashing all file and directory names on the\n"
"CD-ROM and appending the version.";
diff --git a/python/pkgmanager.cc b/python/pkgmanager.cc
index b7bed658..f51dbbbc 100644
--- a/python/pkgmanager.cc
+++ b/python/pkgmanager.cc
@@ -295,24 +295,24 @@ static PyMethodDef PkgManager2Methods[] =
{
{"install",PkgManagerInstall,METH_VARARGS,
"install(pkg: Package, filename: str) -> bool \n\n"
- "Add a install action. Can be overriden in subclasses.\n\n"
+ "Add a install action. Can be overridden in subclasses.\n\n"
"New in version 0.8.0."},
{"configure",PkgManagerConfigure,METH_VARARGS,
"configure(pkg: Package) -> bool \n\n"
- "Add a configure action. Can be overriden in subclasses.\n\n"
+ "Add a configure action. Can be overridden in subclasses.\n\n"
"New in version 0.8.0."},
{"remove",PkgManagerRemove,METH_VARARGS,
"remove(pkg: Package, purge: bool) -> bool \n\n"
- "Add a removal action. Can be overriden in subclasses.\n\n"
+ "Add a removal action. Can be overridden in subclasses.\n\n"
"New in version 0.8.0."},
{"go",PkgManagerGo,METH_VARARGS,
"go(status_fd: int) -> bool \n\n"
- "Start dpkg. Can be overriden in subclasses.\n\n"
+ "Start dpkg. Can be overridden in subclasses.\n\n"
"New in version 0.8.0."},
{"reset",PkgManagerReset,METH_VARARGS,
"reset()\n\n"
"Reset the package manager for a new round.\n"
- "Can be overriden in subclasses.\n\n"
+ "Can be overridden in subclasses.\n\n"
"New in version 0.8.0."},
{}
};
@@ -323,7 +323,7 @@ static const char *packagemanager2_doc =
"installation and the installation of those packages. The parameter\n"
"'depcache' specifies an apt_pkg.DepCache object where information\n"
"about the package selections is retrieved from.\n\n"
- "Methods in this class can be overriden in sub classes\n"
+ "Methods in this class can be overridden in sub classes\n"
"to implement behavior different from APT's dpkg implementation.";
PyTypeObject PyPackageManager2_Type =
{