diff options
| author | Tim Graham <timograham@gmail.com> | 2016-12-14 14:41:39 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-12-14 14:41:39 -0500 |
| commit | 0469657a4c9cc9032d62a41c339d294394c30f8d (patch) | |
| tree | 8e818152f2518c44411661ae9a2c91f16ac6cb97 /releases | |
| parent | 46766175f24f440bc23d2e32340eb607c375e04c (diff) | |
Switched to Python 3 style super().
Diffstat (limited to 'releases')
| -rw-r--r-- | releases/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/releases/models.py b/releases/models.py index 3407839b..107f6bd0 100644 --- a/releases/models.py +++ b/releases/models.py @@ -176,7 +176,7 @@ class Release(models.Model): self.major, self.minor, self.micro, status, self.iteration = self.version_tuple self.status = self.STATUS_REVERSE[status] cache.delete(self.DEFAULT_CACHE_KEY) - super(Release, self).save(*args, **kwargs) + super().save(*args, **kwargs) # Each micro release EOLs the previous one in the same series. if self.status == 'f' and self.micro > 0: (type(self).objects |
