summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-04-25 16:17:01 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2007-04-25 16:17:01 +0200
commitcccfb88edd8dd82348ff89f96a0b26ac815b483c (patch)
tree3dc9c8778bae0e0764dedcfa1eb56cb28996da54 /python
parentb9128440279784a5f6d9bd8a4b67c497f5696823 (diff)
downloadpython-apt-cccfb88edd8dd82348ff89f96a0b26ac815b483c.tar.gz
* python/apt_pkgmodule.cc:
- added pkgCache::State::PkgCurrentState enums
Diffstat (limited to 'python')
-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);
}
/*}}}*/