Mercurial > p > roundup > code
diff roundup/backends/indexer_dbm.py @ 4362:74476eaac38a
more modernisation
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 26 Feb 2010 00:38:53 +0000 |
| parents | 13b3155869e0 |
| children | 6e3e4f24c753 |
line wrap: on
line diff
--- a/roundup/backends/indexer_dbm.py Tue Feb 23 22:54:59 2010 +0000 +++ b/roundup/backends/indexer_dbm.py Fri Feb 26 00:38:53 2010 +0000 @@ -168,7 +168,7 @@ hits[k] = self.fileids[k] else: # Eliminate hits for every non-match - for fileid in hits: + for fileid in list(hits): if fileid not in entry: del hits[fileid] if hits is None:
