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

@ -200,8 +200,7 @@ class ScanPortage(object):
obj, created = Package.objects.get_or_create(
category=cat,
name=pkg,
homepage=homepage,
description=description,
defaults={"homepage": homepage, "description": description},
)
self.cache_store_package(obj)