Traceback (most recent call last): File "/var/www/ub/bobh/teaching/printgrouplist.py", line 180, in if p.people[a[2]]['status'][:14] in ['Degree conferr','Degree awarded'] and recentexp.search(p.people[a[2]]['category']) != None: KeyError: 'status'