Commit e8c797b7 authored by Michal Čihař's avatar Michal Čihař

Remove not needed ()

parent 524a323b
......@@ -834,7 +834,7 @@ class SubProject(models.Model):
'''
# Detect if git config has changed (so that we have to pull the repo)
changed_git = True
if (self.id):
if self.id:
old = SubProject.objects.get(pk=self.id)
changed_git = (
(old.repo != self.repo)
......
Markdown is supported
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