Created
November 18, 2013 01:02
-
-
Save codeguru42/7520720 to your computer and use it in GitHub Desktop.
'NoneType' object has no attribute '__getitem__'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sfTicket = [ticket for ticket in sfTickets if ticket['summary'] == issue['title']][0] | |
pprint(sfTicket['custom_fields']['_milestone']) | |
updateData = {'title' : issue['title']} | |
updateData['milestone'] = milestoneNumbers[sfTicket['custom_fields']['_milestone']] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment