ó FRTc@sŽdZddlZyddlmZWnek rEddlZnXddlZddlZdefd„ƒYZ defd„ƒYZ dS(s„ Provides NotificationMessage and Event classes, with utility methods, for implementations of the Mechanical Turk Notification API. iĸĸĸĸN(tsha1tNotificationMessagecBsGeZdZdZdZdZdZejeƒZ d„Z d„Z RS(slhttp://mechanicalturk.amazonaws.com/AWSMechanicalTurk/2006-05-05/AWSMechanicalTurkRequesterNotification.wsdls 2006-05-05t&AWSMechanicalTurkRequesterNotificationtNotifys!Event\.(?P\d+)\.(?P\w+)cCs0|d|_|d|_|d|_|dtjksMtdtjƒ‚g|_i}d|kru|d}nŒx‰|D]}||}|jdƒr|tjj |ƒj ƒ}t |dƒ}t |d ƒ}||krėi||(R:R=(R((sD/opt/freeware/lib/python2.7/site-packages/boto/mturk/notification.pyt__repr__fs(R.R/RR?(((sD/opt/freeware/lib/python2.7/site-packages/boto/mturk/notification.pyR[s ( t__doc__R"thashlibRR$t ImportErrorR&R3tobjectRR(((sD/opt/freeware/lib/python2.7/site-packages/boto/mturk/notification.pyts    8