Commit a73b1439 authored by Florian Pritz's avatar Florian Pritz
Browse files

Remove debug comments


Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
parent 15ff4c46
......@@ -66,8 +66,7 @@ class ArchiveUploader:
pkgdesc = pkginfo['pkgdesc'] if 'pkgdesc' in pkginfo else ''
metadata['description'] = ArchiveUploader.DESCRIPTION.format(pkgname=pkgname, pkgdesc=pkgdesc, url=pkginfo['url'], license=pkginfo['license'])
metadata['rights'] = 'License: ' + pkginfo['license']
#print(pkgname, len(files))
#print(metadata)
try:
res = self.ia.upload(identifier, files=files, metadata=metadata)
file_status = zip(files, res)
......@@ -92,8 +91,6 @@ class ArchiveUploader:
pkgname = os.path.basename(pkg_dir)
identifier = self.clean_name('archlinux_pkg_' + pkgname)
metadata = {
#'collection': ['test_collection', 'open_source_software'],
#'collection': ['open_source_software'],
'collection': ['archlinuxarchive'],
'mediatype': 'software',
'publisher': 'Arch Linux',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment