euscanwww: Changing RefreshPackageQuery.query to ForeignKey
Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
		@@ -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