diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2010-08-05 22:41:57 +0200 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2010-08-05 22:41:57 +0200 |
| commit | 7bc62fa42772b72f5a4f68729e6fc3aabfb909e8 (patch) | |
| tree | 73661ee354e5403d61ca07dc96d8bec98d1b25f4 /python/apt_pkgmodule.cc | |
| parent | bfa4d690e7262c19b2f0bfc3905177c37f42cf34 (diff) | |
| parent | ad19dcb4f3608779551383103a23ccceb7df3e9c (diff) | |
| download | python-apt-7bc62fa42772b72f5a4f68729e6fc3aabfb909e8.tar.gz | |
merged from debian-sid, fix crash in Dsc file handling
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", |
