euscanwww: Changing RefreshPackageQuery.query to ForeignKey
Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
1 parent
a6b215cec9
commit
3be52a710c
7 files changed
+208
-17
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user