diff options
| author | Arch Librarian <arch@canonical.com> | 2004-11-24 10:00:34 +0000 |
|---|---|---|
| committer | Arch Librarian <arch@canonical.com> | 2004-11-24 10:00:34 +0000 |
| commit | a658a076e1329d52467a4aca3a247cb2debd0b45 (patch) | |
| tree | 11258b25a526abf723f217311b664c524069db78 /python | |
| parent | 4561f1d65045d650d4bd54bc6f16c78c9adfea90 (diff) | |
| download | python-apt-a658a076e1329d52467a4aca3a247cb2debd0b45.tar.gz | |
Don't do both depiterator++ and GlobOr; GlobOr incremen...
Author: mdz
Date: 2003-06-03 03:03:23 GMT
Don't do both depiterator++ and GlobOr; GlobOr increments the iterator
(why?)
Diffstat (limited to 'python')
| -rw-r--r-- | python/cache.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/cache.cc b/python/cache.cc index ee538c2a..954aed92 100644 --- a/python/cache.cc +++ b/python/cache.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: cache.cc,v 1.4 2002/07/08 03:24:48 jgg Exp $ +// $Id: cache.cc,v 1.5 2003/06/03 03:03:23 mdz Exp $ /* ###################################################################### Cache - Wrapper for the cache related functions @@ -334,7 +334,7 @@ static PyObject *MakeDepends(PyObject *Owner,pkgCache::VerIterator &Ver, PyObject *Dict = PyDict_New(); PyObject *LastDep = 0; unsigned LastDepType = 0; - for (pkgCache::DepIterator D = Ver.DependsList(); D.end() == false; D++) + for (pkgCache::DepIterator D = Ver.DependsList(); D.end() == false;) { pkgCache::DepIterator Start; pkgCache::DepIterator End; |
