Skip to content

Commit

Permalink
REMOVE unused part of code in jira.py (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjagelka authored and dmranck committed May 31, 2018
1 parent dcbf4d4 commit f2a109d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ticketutil/jira.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ def _generate_ticket_url(self):

# If we are receiving a ticket_id, it indicates we'll be doing an update or resolve, so set ticket_url.
if self.ticket_id:
if '-' not in self.ticket_id:
# Adding the project to the beginning of the ticket_id, so that the ticket_id is of the form KEY-XX.
self.ticket_id = "{0}-{1}".format(self.project, self.ticket_id)
ticket_url = "{0}/browse/{1}".format(self.url, self.ticket_id)

# This method is called from set_ticket_id(), _create_ticket_request(), or Ticket.__init__().
Expand Down

0 comments on commit f2a109d

Please sign in to comment.