diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-07-28 11:09:00 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-07-28 11:09:00 +0200 |
| commit | cee5d33d44130ce8ceb7b563f7b97f2bf9a3ca5c (patch) | |
| tree | 8157a049457a566f6ac5b2e665cba01629aadd58 /python/apt_pkgmodule.cc | |
| parent | 3b4330920da718d2dbb2a4a94577c07eaa58a8c5 (diff) | |
| parent | d642c9ea22f5705acfcba79493f48293626771c3 (diff) | |
| download | python-apt-cee5d33d44130ce8ceb7b563f7b97f2bf9a3ca5c.tar.gz | |
merged from the debian-sid bzr branch
Diffstat (limited to 'python/apt_pkgmodule.cc')
| -rw-r--r-- | python/apt_pkgmodule.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/apt_pkgmodule.cc b/python/apt_pkgmodule.cc index a1e9ada0..cacbf77a 100644 --- a/python/apt_pkgmodule.cc +++ b/python/apt_pkgmodule.cc @@ -905,6 +905,8 @@ extern "C" void initapt_pkg() Py_BuildValue("i", pkgAcquire::Item::StatFetching)); PyDict_SetItemString(PyAcquireItem_Type.tp_dict, "STAT_DONE", Py_BuildValue("i", pkgAcquire::Item::StatDone)); + PyDict_SetItemString(PyAcquireItem_Type.tp_dict, "STAT_TRANSIENT_NETWORK_ERROR", + Py_BuildValue("i", pkgAcquire::Item::StatTransientNetworkError)); PyDict_SetItemString(PyAcquireItem_Type.tp_dict, "STAT_ERROR", Py_BuildValue("i", pkgAcquire::Item::StatError)); PyDict_SetItemString(PyAcquireItem_Type.tp_dict, "STAT_AUTH_ERROR", |
