summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py
index 53a24ffc..46fd3a63 100644
--- a/main/models.py
+++ b/main/models.py
@@ -157,7 +157,7 @@ class Package(models.Model):
matching_key = DeveloperKey.objects.select_related(
'owner').get(key=sig.key_id, owner_id__isnull=False)
user = matching_key.owner
- except User.DoesNotExist:
+ except DeveloperKey.DoesNotExist:
user = None
return user
return None