diff options
author | Christian Ruppert <idl0r@gentoo.org> | 2011-11-11 16:44:32 +0100 |
---|---|---|
committer | Christian Ruppert <idl0r@gentoo.org> | 2011-11-11 16:44:32 +0100 |
commit | 2fe27226d9cb174d980ba7a2c8e0a5076fbc5412 (patch) | |
tree | 1c298ec8094598528294e295c5de7280094402b9 | |
parent | Fix typo. (diff) | |
download | packages-3-2fe27226d9cb174d980ba7a2c8e0a5076fbc5412.tar.gz packages-3-2fe27226d9cb174d980ba7a2c8e0a5076fbc5412.tar.bz2 packages-3-2fe27226d9cb174d980ba7a2c8e0a5076fbc5412.zip |
Fix <herd> interpretation to not cause errors
-rw-r--r-- | web/model.py | 2 |
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)), |