Temp_Version

issue_journals_dict ----
{18288: {'severity_changes': [(datetime.datetime(2013, 6, 11, 2, 38, 1),
'Not Defined', 'S3')], 'priority_changes': [(datetime.datetime(2013, 6,
11, 2, 38, 1), 'Not Defined', 'P3')], 'status_changes':
[(datetime.datetime(2013, 6, 11, 2, 38, 1), 'Not Defined', '9'),
(datetime.datetime(2014, 11, 4, 18, 19, 53), '9', '10'),
(datetime.datetime(2014, 11, 11, 14, 0, 51), '10', '2'),
(datetime.datetime(2014, 11, 12, 16, 40, 8), '2', '3'),
(datetime.datetime(2014, 11, 17, 13, 24, 17), '3', '12'),
(datetime.datetime(2014, 11, 17, 15, 31, 39), '12', '5')],
'category_changes': [(datetime.datetime(2013, 6, 11, 2, 38, 1), 'Not
Defined', '436'), (datetime.datetime(2014, 11, 11, 13, 52, 33), '436',
'Not Defined'), (datetime.datetime(2014, 11, 11, 14, 0, 51), 'Not
Defined', '423')]}}
[2014-12-03 19:08:15][DEBUG]Write result to path:
C:\WorkSpace\Redmine_Issue_Tracker\Temp\Spyglass2_2014-12-03.tmp
Traceback (most recent call last):
File "C:\WorkSpace\Redmine_Issue_Tracker\Create_Issue_Journals.py", line
45, in run
write_cache(issue_journals_dict, self.project_name)
File "C:\WorkSpace\Redmine_Issue_Tracker\Utility.py", line 116, in
write_cache
temp_content = encode_datetime(content)
File "C:\WorkSpace\Redmine_Issue_Tracker\Utility.py", line 167, in
encode_datetime
change_list[0] = change_list[0].strftime('%m/%d/%Y_%I:%M:%S')
TypeError: 'tuple' object does not support item assignment