Conflicts:
	euscanwww/djeuscan/processing/scan/scan_portage.py

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino
2012-07-24 08:15:56 +02:00
13 changed files with 34 additions and 104 deletions

View File

@ -160,6 +160,7 @@ class ScanMetadata(object):
maintainer = self.store_maintainer(
maintainer_name, maintainer_email
)
herd.maintainers.add(maintainer)
@ -169,7 +170,7 @@ def scan_metadata(packages=None, category=None, logger=None, populate=False):
if category:
packages = Package.objects.filter(category=category)
elif not packages:
elif packages == None:
packages = Package.objects.all()
if populate:

View File

@ -31,8 +31,11 @@ class ScanUpstream(object):
ebuild = out[package]["metadata"]["ebuild"]
except KeyError:
self.logger.error(
"Error while scanning upstream for package %s!\n%s",
package,
"Error while scanning upstream for package %s!",
package
)
self.logger.debug(
"Error %s",
out_json
)
return {}