summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/model.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/model.py b/web/model.py
index 8f549fc..68ce012 100644
--- a/web/model.py
+++ b/web/model.py
@@ -623,6 +623,8 @@ class PackageDB(object):
cursor.execute(sql, (cat, pn))
row = cursor.fetchone()
+ if not row:
+ return
ebuildchangeutc = datetime.datetime.utcfromtimestamp(row[0])
package_details = { 'atom': get_atom(str(cp)),