Prevent bug in upgrade diff for empty new version
apparently this is quite the rare case..but can happen
This commit is contained in:
parent
af405cfd10
commit
05bb3849a2
|
@ -400,6 +400,10 @@ class UpgradeView(MasterView):
|
|||
return projects
|
||||
|
||||
def get_changelog_url(self, project, old_version, new_version):
|
||||
# cannot generate URL if new version is unknown
|
||||
if not new_version:
|
||||
return
|
||||
|
||||
projects = self.get_changelog_projects()
|
||||
|
||||
project_name = project
|
||||
|
|
Loading…
Reference in a new issue