Fix python 3.x compatibility regarding iterations on a dict
Error on travis-ci was:
AttributeError: 'dict' object has no attribute 'iteritems'
And actually it's been removed in python 3.x in favor of dict.items()
This commit is contained in:
parent
f4feec4727
commit
2cd3d5fb45
7 changed files with 14 additions and 14 deletions
|
|
@ -29,7 +29,7 @@ SCHEDULE_ACTIVITY_TASK_DECISION = {
|
|||
"taskList": { "name": "activity-task-list" },
|
||||
}
|
||||
}
|
||||
for key, value in ACTIVITY_TASK_TIMEOUTS.iteritems():
|
||||
for key, value in ACTIVITY_TASK_TIMEOUTS.items():
|
||||
SCHEDULE_ACTIVITY_TASK_DECISION["scheduleActivityTaskDecisionAttributes"][key] = value
|
||||
|
||||
# A test Domain
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue