summaryrefslogtreecommitdiff
path: root/python/apt_pkgmodule.cc
diff options
context:
space:
mode:
authorMichael Vogt <egon@bottom>2007-05-02 11:33:21 +0200
committerMichael Vogt <egon@bottom>2007-05-02 11:33:21 +0200
commit7d1c68e32c645b0485ebca56e56193d2c7528dd7 (patch)
tree53e1ee57dba84c5d46a02c13e42edc8ee54a1936 /python/apt_pkgmodule.cc
parentf83140ef276db00a2673e5085a40704f078a8cbd (diff)
parentcccfb88edd8dd82348ff89f96a0b26ac815b483c (diff)
downloadpython-apt-7d1c68e32c645b0485ebca56e56193d2c7528dd7.tar.gz
* python/apt_pkgmodule.cc:
- added pkgCache::State::PkgCurrentState enums
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 24d876af..627eaced 100644
--- a/python/apt_pkgmodule.cc
+++ b/python/apt_pkgmodule.cc
@@ -502,6 +502,12 @@ extern "C" void initapt_pkg()
AddInt(Dict,"PriOptional",pkgCache::State::Optional);
AddInt(Dict,"PriExtra",pkgCache::State::Extra);
+ AddInt(Dict,"CurStateNotInstalled",pkgCache::State::NotInstalled);
+ AddInt(Dict,"CurStateUnPacked",pkgCache::State::UnPacked);
+ AddInt(Dict,"CurStateHalfConfigured",pkgCache::State::HalfConfigured);
+ AddInt(Dict,"CurStateHalfInstalled",pkgCache::State::HalfInstalled);
+ AddInt(Dict,"CurStateConfigFiles",pkgCache::State::ConfigFiles);
+ AddInt(Dict,"CurStateInstalled",pkgCache::State::Installed);
}
/*}}}*/