summaryrefslogtreecommitdiff
path: root/apt
diff options
context:
space:
mode:
authorMichael Vogt <egon@bottom>2007-11-29 12:25:33 +0100
committerMichael Vogt <egon@bottom>2007-11-29 12:25:33 +0100
commit0fc4aa9466d57ddc4a54191eeb8775e41ad35525 (patch)
tree93b7f4e949c3c013309d397de200d058ec7b5af5 /apt
parentbe3ddb25ea0baa259f20936f1d7a62cafa019b99 (diff)
parentabf6c5801c6b162a9dcda5099e8eb746525dc826 (diff)
downloadpython-apt-0fc4aa9466d57ddc4a54191eeb8775e41ad35525.tar.gz
* apt/package.py:
- fix apt.package.Dependency.relation initialization * python/string.cc: - fix overflow in SizeToStr() * python/metaindex.cc: - added support for the metaIndex objects * python/sourceslist.cc: - support new "List" attribute that returns the list of metaIndex source entries * python/depcache.cc: - be more threading friendly * python/tag.cc - support "None" as default in ParseSection(control).get(field, default), LP: #44470 * python/progress.cc: - fix refcount problem in OpProgress - fix refcount problem in FetchProgress - fix refcount problem in CdromProgress * apt/README.apt: - fix typo (thanks to Thomas Schoepf, closes: #387787) * po/fr.po: - merge update, thanks to Christian Perrier (closes: #435918)
Diffstat (limited to 'apt')
-rw-r--r--apt/README.apt2
-rw-r--r--apt/package.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/apt/README.apt b/apt/README.apt
index bba91e7c..30166a24 100644
--- a/apt/README.apt
+++ b/apt/README.apt
@@ -3,7 +3,7 @@ the c++ libapt code) a new python module "apt" is provided since version
0.6.13 of python-apt.
It is a more python like interface to work with libapt (it uses apt_pkg
-internally). Also there are already applications written against the new
+internally). Although there are already applications written against the new
apt python interface the API may change in the future and should not be
considered stable. If in doubt, please contact deity@lists.debian.org.
diff --git a/apt/package.py b/apt/package.py
index 4524a47d..49aadd20 100644
--- a/apt/package.py
+++ b/apt/package.py
@@ -135,7 +135,7 @@ class Package(object):
for depVerList in depends[t]:
base_deps = []
for depOr in depVerList:
- base_deps.append(BaseDependency(depOr.TargetPkg.Name, depOr.TargetVer, depOr.CompType, (t == "PreDepends")))
+ base_deps.append(BaseDependency(depOr.TargetPkg.Name, depOr.CompType, depOr.TargetVer, (t == "PreDepends")))
depends_list.append(Dependency(base_deps))
return depends_list