Permalink
Browse files

Make a link

  • Loading branch information...
gaod committed Sep 3, 2012
1 parent 04889d3 commit 303f9e907880ca3b55c08ff8dcab982a3367d147
Showing with 2 additions and 2 deletions.
  1. +2 −2 tracsubtickets/api.py
View
@@ -151,15 +151,15 @@ def ticket_changed(self, ticket, comment, author, old_values):
(parent, ticket.id))
# add a comment to old parent
xticket = Ticket(self.env, parent)
- xticket.save_changes(author, 'Remove a subticket ' + str(ticket.id) + '.')
+ xticket.save_changes(author, 'Remove a subticket #' + str(ticket.id) + '.')
# add new parents
for parent in new_parents - old_parents:
cursor.execute("INSERT INTO subtickets VALUES(%s, %s)",
(parent, ticket.id))
# add a comment to new parent
xticket = Ticket(self.env, parent)
- xticket.save_changes(author, 'Add a subticket ' + str(ticket.id) + '.')
+ xticket.save_changes(author, 'Add a subticket #' + str(ticket.id) + '.')
db.commit()

0 comments on commit 303f9e9

Please sign in to comment.