Discussion:
createrepo/__init__.py
z***@osuosl.org
2013-10-23 08:56:50 UTC
Permalink
createrepo/__init__.py | 1 +
1 file changed, 1 insertion(+)

New commits:
commit 780dcf31a19298761ba589f31b4a391963ecd212
Author: Zdenek Pavlas <***@redhat.com>
Date: Mon Oct 21 10:20:43 2013 +0200

Removing the workers=1 default breaks API users, put it back. BZ 1021162

diff --git a/createrepo/__init__.py b/createrepo/__init__.py
index ef63e57..dfdc8ab 100644
--- a/createrepo/__init__.py
+++ b/createrepo/__init__.py
@@ -108,6 +108,7 @@ class MetaDataConfig(object):
self.read_pkgs_list = None # filepath/name to write out list of pkgs
# read in this run of createrepo
self.collapse_glibc_requires = True
+ self.workers = 1 # number of workers to fork off to grab metadata from the pkgs
self.worker_cmd = '/usr/share/createrepo/worker.py'
#self.worker_cmd = './worker.py' # helpful when testing
self.retain_old_md = 0

Loading...