From 38804bc141cf98a0d3538bde692660de2de3b037 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 6 Jan 2014 13:59:50 +0100 Subject: apt, doc: Fix the list of comp_type values Reported-by: Michael Schaller --- apt/package.py | 2 +- doc/source/library/apt.package.rst | 2 +- doc/source/library/apt_pkg.rst | 2 +- 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 -- cgit v1.2.3