File createrepo-0.9.9-worker-clog_limit.patch of Package createrepo
Index: createrepo-0.9.9/worker.py
===================================================================
--- createrepo-0.9.9.orig/worker.py
+++ createrepo-0.9.9/worker.py
@@ -61,6 +61,9 @@ def main(args):
v = None
globalopts[k] = v
+ if 'clog_limit' in globalopts and globalopts['clog_limit'] != None:
+ globalopts['clog_limit'] = int(globalopts['clog_limit'])
+
reldir = external_data['_reldir']
ts = rpmUtils.transaction.initReadOnlyTransaction()