euscanwww: Changing RefreshPackageQuery.query to ForeignKey

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino
2012-07-07 15:44:00 +02:00
parent a6b215cec9
commit 3be52a710c
7 changed files with 208 additions and 17 deletions

View File

@ -261,7 +261,7 @@ def consume_refresh_package_request():
except IndexError:
return {}
else:
result = scan_package_task(obj.query)
result = scan_package_task(obj.package)
obj.delete()
return result