diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/toaster/orm/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py index eea98b5e71..625eb1ee85 100644 --- a/bitbake/lib/toaster/orm/models.py +++ b/bitbake/lib/toaster/orm/models.py | |||
@@ -1080,7 +1080,7 @@ class Layer_Version(models.Model): | |||
1080 | return self.branch | 1080 | return self.branch |
1081 | if self.up_branch is not None: | 1081 | if self.up_branch is not None: |
1082 | return self.up_branch.name | 1082 | return self.up_branch.name |
1083 | raise Exception("Cannot determine the vcs_reference for layer version %s" % vars(self)) | 1083 | return ("Cannot determine the vcs_reference for layer version %s" % vars(self)) |
1084 | 1084 | ||
1085 | def __unicode__(self): | 1085 | def __unicode__(self): |
1086 | return "%d %s (VCS %s, Project %s)" % (self.pk, str(self.layer), self.get_vcs_reference(), self.build.project if self.build is not None else "No project") | 1086 | return "%d %s (VCS %s, Project %s)" % (self.pk, str(self.layer), self.get_vcs_reference(), self.build.project if self.build is not None else "No project") |