DECA-290: Remove deprecated has_key calls in favour of the new "key in d" style

Metadata

Source
DECA-290
Type
Task
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Justin Obara
Created
2012-07-05T13:07:44.693-0400
Updated
2012-07-10T13:48:51.114-0400
Versions
N/A
Fixed Versions
  1. 0.6
Component
  1. Server

Description

the python dictionary has_key method is deprecated and it's uses should be switched to "key in d".
http://docs.python.org/library/stdtypes.html#dict.has_key

Comments