summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
authorEmanuele Rocca <ema@debian.org>2008-10-04 21:59:16 +0200
committerEmanuele Rocca <ema@debian.org>2008-10-04 21:59:16 +0200
commit825ead499fa2f385c2cb0876316424b0595c0d3c (patch)
treeb2527f103906b9e9ce63998d1db65d1c7b84fd2f /python/apt_pkgmodule.cc
parent13caebe03934e6e66e9096044181d3aa683b5705 (diff)
parent3bc4cc400ef9a6994e3ed51526811bfa2acd9927 (diff)
downloadpython-apt-825ead499fa2f385c2cb0876316424b0595c0d3c.tar.gz
Merged Michael's changes
Diffstat (limited to 'python/apt_pkgmodule.cc')
-rw-r--r--python/apt_pkgmodule.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc
index fd7a83cd..fae85f00 100644
--- a/python/apt_pkgmodule.cc
+++ b/python/apt_pkgmodule.cc
@@ -517,6 +517,12 @@ extern "C" void initapt_pkg()
AddInt(Dict,"CurStateConfigFiles",pkgCache::State::ConfigFiles);
AddInt(Dict,"CurStateInstalled",pkgCache::State::Installed);
+ AddInt(Dict,"SelStateUnknown",pkgCache::State::Unknown);
+ AddInt(Dict,"SelStateInstall",pkgCache::State::Install);
+ AddInt(Dict,"SelStateHold",pkgCache::State::Hold);
+ AddInt(Dict,"SelStateDeInstall",pkgCache::State::DeInstall);
+ AddInt(Dict,"SelStatePurge",pkgCache::State::Purge);
+
AddInt(Dict,"InstStateOk",pkgCache::State::Ok);
AddInt(Dict,"InstStateReInstReq",pkgCache::State::ReInstReq);
AddInt(Dict,"InstStateHold",pkgCache::State::Hold);