summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2011-05-27 15:46:49 +0200
committerJulian Andres Klode <jak@debian.org>2011-05-27 15:46:49 +0200
commitba4ba3e73303860b032ae1a1ae5c27c98e629cd6 (patch)
treeec3ed83aa704b2d6ce91afe428d9a798dfbca145
parent48d0403a804e8185c5ca6e77660a80725404e7d8 (diff)
downloadpython-apt-ba4ba3e73303860b032ae1a1ae5c27c98e629cd6.tar.gz
apt/package.py: fix a few typos [formated->formatted] (Closes: #597054)
-rw-r--r--apt/package.py8
-rw-r--r--debian/changelog1
2 files changed, 5 insertions, 4 deletions
diff --git a/apt/package.py b/apt/package.py
index 00470ced..9223ed22 100644
--- a/apt/package.py
+++ b/apt/package.py
@@ -343,7 +343,7 @@ class Version(object):
def description(self):
"""Return the formatted long description.
- Return the formated long description according to the Debian policy
+ Return the formatted long description according to the Debian policy
(Chapter 5.6.13).
See http://www.debian.org/doc/debian-policy/ch-controlfields.html
for more information.
@@ -892,7 +892,7 @@ class Package(object):
def description(self):
"""Return the formatted long description.
- Return the formated long description according to the Debian policy
+ Return the formatted long description according to the Debian policy
(Chapter 5.6.13).
See http://www.debian.org/doc/debian-policy/ch-controlfields.html
for more information.
@@ -1360,8 +1360,8 @@ def _test():
print "SourcePkg: %s " % pkg.candidate.source_name
print "Section: %s " % pkg.section
print "Summary: %s" % pkg.candidate.summary
- print "Description (formated) :\n%s" % pkg.candidate.description
- print "Description (unformated):\n%s" % pkg.candidate.raw_description
+ print "Description (formatted) :\n%s" % pkg.candidate.description
+ print "Description (unformatted):\n%s" % pkg.candidate.raw_description
print "InstalledSize: %s " % pkg.candidate.installed_size
print "PackageSize: %s " % pkg.candidate.size
print "Dependencies: %s" % pkg.installed.dependencies
diff --git a/debian/changelog b/debian/changelog
index f27bb797..6a906324 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ python-apt (0.8.0~exp5) UNRELEASED; urgency=low
[ Tshepang Lekhonkhobe ]
* Fix get_changelog in Python 3 (Closes: #626532)
+ * apt/package.py: fix a few typos [formated->formatted] (Closes: #597054)
-- Julian Andres Klode <jak@debian.org> Thu, 26 May 2011 18:01:57 +0200