diff options
| author | Julian Andres Klode <jak@debian.org> | 2013-10-23 19:40:07 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2013-10-23 19:40:07 +0200 |
| commit | a2b3528a6b96c11a8c3f0600a5cde778a7911b4e (patch) | |
| tree | 5f5ed86576f69eb3255d5114c38ddd0d7219094e /python | |
| parent | ea815d93dda86504518bdf69488b1f336f2439a3 (diff) | |
| download | python-apt-a2b3528a6b96c11a8c3f0600a5cde778a7911b4e.tar.gz | |
python/depcache.cc: Add more error handling to PkgDepCacheCommit
It returned false, but should have returned NULL after handling
errors.
Diffstat (limited to 'python')
| -rw-r--r-- | python/depcache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/depcache.cc b/python/depcache.cc index b257e2c9..c9dc79f3 100644 --- a/python/depcache.cc +++ b/python/depcache.cc @@ -111,7 +111,7 @@ static PyObject *PkgDepCacheCommit(PyObject *Self,PyObject *Args) bool Transient = false; if (Fetcher.Run() == pkgAcquire::Failed) - return false; + return HandleErrors(); // Print out errors bool Failed = false; |
