cobalt.py

changeset 36
543d7a5e3b8b
parent 35
237e82bcd02f
child 37
3399d716b3ae
equal deleted inserted replaced
35:237e82bcd02f 36:543d7a5e3b8b
419 #fi 419 #fi
420 #done 420 #done
421 #done 421 #done
422 422
423 if need_update: 423 if need_update:
424 # We need to remove the note data, otherwise the ticket notes
425 # will get unnecessary updates. WTF, MantisBT?
426 ticket_data.notes = []
424 suds_client.service.mc_issue_update (g_config['trackeruser'], g_config['trackerpassword'], ticket_id, ticket_data) 427 suds_client.service.mc_issue_update (g_config['trackeruser'], g_config['trackerpassword'], ticket_id, ticket_data)
425 #fi 428 #fi
426 429
427 suds_client.service.mc_issue_note_add (g_config['trackeruser'], g_config['trackerpassword'], ticket_id, { 'text': message }) 430 suds_client.service.mc_issue_note_add (g_config['trackeruser'], g_config['trackerpassword'], ticket_id, { 'text': message })
428 num_commits += 1 431 num_commits += 1

mercurial