From 6fa27e40e08fed98604a56f62e6b917747b53120 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 30 Jan 2020 13:17:10 +0100 Subject: [PATCH] TT#71950 Fix typos Change-Id: I3a5533bd7a5b62c5d939df3b6e0df00b9f2485d2 --- hotfix/models.py | 2 +- repoapi/models/wni.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hotfix/models.py b/hotfix/models.py index 28d5271..ea6fa9b 100644 --- a/hotfix/models.py +++ b/hotfix/models.py @@ -36,7 +36,7 @@ class WorkfrontNoteInfo(models.Model): @staticmethod def getIds(change): """ - parses text searching for Workfront TT# ocurrences + parses text searching for Workfront TT# occurrences returns a list of IDs """ if change: diff --git a/repoapi/models/wni.py b/repoapi/models/wni.py index d04c601..2d8c3c1 100644 --- a/repoapi/models/wni.py +++ b/repoapi/models/wni.py @@ -37,7 +37,7 @@ class WorkfrontNoteInfo(models.Model): @staticmethod def getIds(git_comment): """ - parses git_commit_msg searching for Workfront TT# ocurrences + parses git_commit_msg searching for Workfront TT# occurrences returns a list of IDs """ if git_comment: @@ -93,7 +93,7 @@ def workfront_note_add(instance, message, release_target=False): eventtype=eventtype) if created: if not utils.workfront_note_send(wid, "%s %s " % (message, url)): - logger.error("remove releated WorkfrontNoteInfo") + logger.error("remove related WorkfrontNoteInfo") note.delete() if release_target: workfront_release_target(instance, wid)