diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/patchwork/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/patchwork/models.py b/apps/patchwork/models.py index c36f960..d70fdb2 100644 --- a/apps/patchwork/models.py +++ b/apps/patchwork/models.py @@ -220,7 +220,7 @@ class Patch(models.Model): def mbox(self): comment = None try: - comment = Comment.objects.get(msgid = self.msgid) + comment = Comment.objects.get(patch = self, msgid = self.msgid) except Exception: pass |