aboutsummaryrefslogtreecommitdiffstats
path: root/rrs/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'rrs/models.py')
-rw-r--r--rrs/models.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/rrs/models.py b/rrs/models.py
index c86dc93ece..635193cf54 100644
--- a/rrs/models.py
+++ b/rrs/models.py
@@ -401,8 +401,7 @@ class RecipeUpgrade(models.Model):
return self.sha1[0:6]
def commit_url(self):
- web_interface_url = self.recipe.layerbranch.layer.vcs_web_url
- return web_interface_url + "/commit/?id=" + self.sha1
+ return self.recipe.layerbranch.commit_url(self.sha1)
def __str__(self):
return '%s: (%s, %s)' % (self.recipe.pn, self.version,