summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2014-01-06 13:59:50 +0100
committerJulian Andres Klode <jak@debian.org>2014-01-06 14:02:25 +0100
commit38804bc141cf98a0d3538bde692660de2de3b037 (patch)
tree40848bee24c33e5c6f87d0a5752b65fd0f3dd44f
parent86b1fa71cf952c5f4aae1cabef332ba0d4f5885c (diff)
downloadpython-apt-38804bc141cf98a0d3538bde692660de2de3b037.tar.gz
apt, doc: Fix the list of comp_type values
Reported-by: Michael Schaller <michael@5challer.de>
-rw-r--r--apt/package.py2
-rw-r--r--doc/source/library/apt.package.rst2
-rw-r--r--doc/source/library/apt_pkg.rst2
3 files changed, 3 insertions, 3 deletions
diff --git a/apt/package.py b/apt/package.py
index 34c1b91e..efe4d83e 100644
--- a/apt/package.py
+++ b/apt/package.py
@@ -65,7 +65,7 @@ class BaseDependency(object):
Attributes defined here:
name - The name of the dependency
- relation - The relation (>,>=,==,<,<=,)
+ relation - The relation (>,>=,=,!=,<,<=,)
version - The version depended on
rawtype - The type of the dependendy (e.g. 'Recommends')
pre_depend - Boolean value whether this is a pre-dependency.
diff --git a/doc/source/library/apt.package.rst b/doc/source/library/apt.package.rst
index 01a26973..317e859f 100644
--- a/doc/source/library/apt.package.rst
+++ b/doc/source/library/apt.package.rst
@@ -34,7 +34,7 @@ Dependency Information
.. attribute:: relation
- The relation (>,>=,==,<,<=,)
+ The relation (>,>=,=,!=,<,<=,)
.. attribute:: version
diff --git a/doc/source/library/apt_pkg.rst b/doc/source/library/apt_pkg.rst
index 7a359652..d9b8ae80 100644
--- a/doc/source/library/apt_pkg.rst
+++ b/doc/source/library/apt_pkg.rst
@@ -1022,7 +1022,7 @@ Example:
.. attribute:: comp_type
- The type of comparison (>=, ==, >>, <=), as string.
+ The type of comparison (>=, =, !=, >, <=), as string.
.. attribute:: dep_type