[Tracker-discuss] [issue179] KeyError when searching for usernames that don't exist

Dmitry Kozhevin metatracker at psf.upfronthosting.co.za
Thu Feb 21 15:41:47 CET 2008


Dmitry Kozhevin added the comment:

site-packages/roundup/backends/rdbms_common.py
@@ -2175,7 +2175,7 @@
                                 d[entry] = entry                               
                             l = []                                             
                             if d.has_key(None) or not d:                       
-                                d.pop(None, 'dummy')                           
+                                del d[None]                                    
                                 l.append('_%s._%s is NULL'%(pln, k))           
                             if d:                                              
                                 v = d.keys()

----------
status: unread -> chatting

_______________________________________________________
Meta Tracker <metatracker at psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue179>
_______________________________________________________


More information about the Tracker-discuss mailing list