Commit 9daa4191 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files


parent 6ef128c1
Pipeline #1902 passed with stages
in 40 seconds
......@@ -586,7 +586,7 @@ class Branch(TimeStampedModel):
main_branch = self.project.main_branch()
self.ahead = self.get_ahead(main_branch)
self.behind = self.get_behind(main_branch)
except Branch.DoesNotExists:
except Branch.DoesNotExist:
self.updated = self.git().commit.authored_datetime
except (git.exc.GitCommandError, IndexError):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment