From 3d48f3e8a50edf325716db4f13d062994112e1e5 Mon Sep 17 00:00:00 2001 From: Ivan Lausuch Date: Tue, 1 Aug 2023 12:25:08 +0200 Subject: [PATCH] Remove buzilla alfa from dumper --- dumper.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/dumper.py b/dumper.py index 8e01ad7..3f26ac0 100755 --- a/dumper.py +++ b/dumper.py @@ -5,7 +5,7 @@ import yaml from trackers.redmine.redmine_config import RedmineConfig from trackers.redmine.redmine_dumper import RedmineDumper -from trackers.bugzilla.bugzilla_suse import bzmain, bzlist_queries +# from trackers.bugzilla.bugzilla_suse import bzmain, bzlist_queries def main(): @@ -78,18 +78,18 @@ def main(): args.source, args.project, args.database) dumper = RedmineDumper(args.database, logger.level) dumper.dump_to_db(args.project) - elif args.source == "bugzilla": - if args.listqueries: - bzlist_queries() - else: - params = {'product': args.prod, - 'status': args.status, - 'severity': args.severity, - 'priority': args.priority, - 'range': args.range} - for script in args.exec: - logger.info("%s is passed to run", script) - bzmain(args.exec, params) + # elif args.source == "bugzilla": + # if args.listqueries: + # bzlist_queries() + # else: + # params = {'product': args.prod, + # 'status': args.status, + # 'severity': args.severity, + # 'priority': args.priority, + # 'range': args.range} + # for script in args.exec: + # logger.info("%s is passed to run", script) + # bzmain(args.exec, params) else: raise NotImplementedError(f"'--source {args.source}' not supported")