summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-01-15 15:42:44 +0100
committerJulian Andres Klode <jak@debian.org>2010-01-15 15:42:44 +0100
commit6dae07e834445c193f392cf53a252b83c68f2bcd (patch)
treed660e8ad24c9c1bf028526606ddc02b7433dcf09 /doc
parentfec0cfe1617ccfcbb7b291ba00dedacdd3f133f7 (diff)
downloadpython-apt-6dae07e834445c193f392cf53a252b83c68f2bcd.tar.gz
Make all class-level constants have uppercase names.
Diffstat (limited to 'doc')
-rw-r--r--doc/source/library/apt_pkg.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/source/library/apt_pkg.rst b/doc/source/library/apt_pkg.rst
index 5876fb8d..c3a74267 100644
--- a/doc/source/library/apt_pkg.rst
+++ b/doc/source/library/apt_pkg.rst
@@ -282,21 +282,21 @@ Working with the cache
Fix the installation if a package could not be downloaded.
- .. attribute:: result_completed
+ .. attribute:: RESULT_COMPLETED
A constant for checking whether the the result is 'completed'.
Compare it against the return value of :meth:`PackageManager.get_archives`
or :meth:`PackageManager.do_install`.
- .. attribute:: result_failed
+ .. attribute:: RESULT_FAILED
A constant for checking whether the the result is 'failed'.
Compare it against the return value of :meth:`PackageManager.get_archives`
or :meth:`PackageManager.do_install`.
- .. attribute:: result_incomplete
+ .. attribute:: RESULT_INCOMPLETE
A constant for checking whether the the result is 'incomplete'.
@@ -1110,23 +1110,23 @@ installation.
Integer, representing the status of the item.
- .. attribute:: stat_idle
+ .. attribute:: STAT_IDLE
Constant for comparing :attr:`AcquireItem.status`.
- .. attribute:: stat_fetching
+ .. attribute:: STAT_FETCHING
Constant for comparing :attr:`AcquireItem.status`
- .. attribute:: stat_done
+ .. attribute:: STAT_DONE
Constant for comparing :attr:`AcquireItem.status`
- .. attribute:: stat_error
+ .. attribute:: STAT_ERROR
Constant for comparing :attr:`AcquireItem.status`
- .. attribute:: stat_auth_error
+ .. attribute:: STAT_AUTH_ERROR
Constant for comparing :attr:`AcquireItem.status`