diff roundup/backends/indexer_common.py @ 4359:b9abbdd15259

another module modernised
author Richard Jones <richard@users.sourceforge.net>
date Tue, 23 Feb 2010 11:18:34 +0000
parents 13b3155869e0
children 6e3e4f24c753
line wrap: on
line diff
--- a/roundup/backends/indexer_common.py	Tue Feb 23 03:20:17 2010 +0000
+++ b/roundup/backends/indexer_common.py	Tue Feb 23 11:18:34 2010 +0000
@@ -82,7 +82,7 @@
                 propspec[linkprop][nodeid] = 1
 
         # retain only the meaningful entries
-        for propname, idset in propspec.iteritems():
+        for propname, idset in list(propspec.items()):
             if not idset:
                 del propspec[propname]
 

Roundup Issue Tracker: http://roundup-tracker.org/