summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
Diffstat (limited to 'python/apt_pkgmodule.cc')
-rw-r--r--python/apt_pkgmodule.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc
index 15f7d238..ae1cf7be 100644
--- a/python/apt_pkgmodule.cc
+++ b/python/apt_pkgmodule.cc
@@ -507,6 +507,11 @@ extern "C" void initapt_pkg()
AddInt(Dict,"CurStateHalfInstalled",pkgCache::State::HalfInstalled);
AddInt(Dict,"CurStateConfigFiles",pkgCache::State::ConfigFiles);
AddInt(Dict,"CurStateInstalled",pkgCache::State::Installed);
+
+ AddInt(Dict,"InstStateOk",pkgCache::State::Ok);
+ AddInt(Dict,"InstStateReInstReq",pkgCache::State::ReInstReq);
+ AddInt(Dict,"InstStateHold",pkgCache::State::Hold);
+ AddInt(Dict,"InstStateHoldReInstReq",pkgCache::State::HoldReInstReq);
}
/*}}}*/